Skip to content

testing

Tom Russell edited this page Feb 11, 2019 · 1 revision

Testing

Continuous integration

Establish continuous integration for each of the sector models and NISMOD v2.0

We'd like to automatically run tests:

  • whenever a push is made to the master branch when a pull request is made on Github to merge into master
  • nightly on master branch

A badge should be used to reflect the status of the tests, and a message posted on the pull request to indicate the status.

At present, tests are only required for the configuration, not for the integration of all the sector models, so can be run with the command pytest. The only requirements to run these tests are for smif and pytest. pip install smif pytest should be all that is needed.

Clone this wiki locally