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:

Giovanni Pizzi, Andrea Cepellotti, Riccardo Sabatini, Nicola Marzari, and Boris Kozinsky, AiiDA: automated interactive infrastructure and database for computational science, Comp. Mat. Sci 111, 218-230 (2016); https://doi.org/10.1016/j.commatsci.2015.09.013; http://www.aiida.net.

aiida-testing is released under the Apache license.

Indices and tables