Skip to content
ben edited this page Jan 13, 2016 · 1 revision

Testing

General

Whenever you add a function make sure to write unit tests for it, if necessary. (Wrappers, getters, setters etc. obviously usually don't need testing) Here are some basic guidelines for testing:

  • Your code should be easy to test. If not - make amendments.

  • The testing environment currently used is based on pythons built-in unittest testing framework. It should be easy to understand how it works and how we use it. (Just look at the code ;) )

  • If you encounter any problem that hasn't been tested yet. PLEASE! Write one, open an issue or at least leave a comment somewhere.

  • Functional tests are a nice thing to have! If you can spare some time it'd be nice to add some.

Clone this wiki locally