-
Notifications
You must be signed in to change notification settings - Fork 20
Regression testing
Christian Ritter edited this page Jul 27, 2016
·
24 revisions
NuPyCEE adopts the Travis CI technology for regression testing.
The regression_tests directory hosts test functions, either provided in selftest.py or in ipython notebooks.
To add your test notebook copy it into the regression_tests directory and add
# Trigger interactive or non-interactive depending on command line argument
__RUNIPY__ = sys.argv[0]
if __RUNIPY__:
%matplotlib inline
else:
%pylab nbagg
To add a python test