A pytest plugin for testing AiiDA plugins.
Project description
aiida-testing
A pytest plugin to simplify testing of AiiDA plugins. This package implements two ways of running an AiiDA calculation in tests:
mock_code
: Implements a caching layer at the level of the executable called by an AiiDA calculation. This tests the input generation and output parsing, which is useful when testing calculation and parser plugins.export_cache
: Implements an automatic export / import of the AiiDA database, to enable AiiDA - level caching in tests. This circumvents the input generation / output parsing, making it suitable for testing higher-level workflows.
For more information, see the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiida-testing-dev-0.1.0.dev1.tar.gz
.
File metadata
- Download URL: aiida-testing-dev-0.1.0.dev1.tar.gz
- Upload date:
- Size: 99.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf24ee03b88e100eb56e6b72e9ae408dffb21b03097be01569456bf11a7a5fe7 |
|
MD5 | 201038390ae8ddc445d5ba093344b070 |
|
BLAKE2b-256 | 80d5f1d9ca783b4ca91512e6a788bb5327829a75396e66efd4123d3b932556c8 |
Provenance
File details
Details for the file aiida_testing_dev-0.1.0.dev1-py3-none-any.whl
.
File metadata
- Download URL: aiida_testing_dev-0.1.0.dev1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65507192d5901211ed69714c93b6b300f87c95505ad0a0e442bf53a315d00e9d |
|
MD5 | 6e04aa765b664879a85d994deb6aa7af |
|
BLAKE2b-256 | 92852b28af545c1e38478a31daf4d8722b209b0f7bc410673e8dcca2473b2e59 |