Skip to content

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.

Add test notebook

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

Add python tests

To add a python test

Clone this wiki locally