Closed markgw closed 5 years ago
Unit tests are in https://github.com/markgw/pimlico/tree/master/src/test/python/pimlicotest and there's a script to run them, https://github.com/markgw/pimlico/blob/master/bin/all_tests.sh .
Currently there are two very simple tests. There will need to be many hundreds, so we've got a long way to go...
Commit 56c8e8c added a new feature for testing: test pipelines. This is intended to make it easy to build test suites for modules (and possibly datatypes), providing necessary data for input.
I intend to largely use this instead of unit tests. It would still be appropriate to create unit tests for core functionality, but realistically I'm not going to ever feel motivated enough to do this on a suitable scale. These test pipelines will effectively test a lot of core functionality as a by-product, since the modules will use a wide range of it, and they have the advantage that they also provide demo pipelines to show how to use the modules.
Now to be implemented as module tests instead of unit tests, see previous comment.
Most modules have tests now, so I'm closing this. I'm adding test pipelines as I update the remaining modules, so we should end up with all (or almost all) modules with tests.
Massive project. Really need some fairly comprehensive unit tests for the core codebase before v1.