The aiida-testing pytest plugin¶
A pytest plugin to simplify testing of AiiDA plugins. It implements fixtures to cache the execution of codes:
mock_code: Caches at the level of the code executable. Use this for testing calculation and parser plugins, because input file generation and output parsing are also being tested.
export_cache: Uses the AiiDA caching feature, in combination with an automatic database export / import. Use this to test high-level workflows.
aiida-testing is available at http://github.com/aiidateam/aiida-testing
If you use AiiDA for your research, please cite the following work:
aiida-testing is released under the Apache license.