Unit Tests

The CMF testing is based on the standard Python unit test module.
The creation of unit tests in python files follows a specific naming pattern, the default being test*.py, for example Typically they should be in the same folder as the model they test.
In order for the test discovery to load your tests, they must be in a folder with a file, so create a file in your models folder.
To learn more about unit testing, please follow our in-depth explanation.