Skip to main content

A pytest plugin for testing AiiDA plugins.

Project description

Build Status Docs status PyPI version GitHub license

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiida-testing-dev-0.1.0.dev1.tar.gz (99.0 kB view details)

Uploaded Source

Built Distribution

aiida_testing_dev-0.1.0.dev1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file aiida-testing-dev-0.1.0.dev1.tar.gz.

File metadata

File hashes

Hashes for aiida-testing-dev-0.1.0.dev1.tar.gz
Algorithm Hash digest
SHA256 cf24ee03b88e100eb56e6b72e9ae408dffb21b03097be01569456bf11a7a5fe7
MD5 201038390ae8ddc445d5ba093344b070
BLAKE2b-256 80d5f1d9ca783b4ca91512e6a788bb5327829a75396e66efd4123d3b932556c8

See more details on using hashes here.

Provenance

File details

Details for the file aiida_testing_dev-0.1.0.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for aiida_testing_dev-0.1.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 65507192d5901211ed69714c93b6b300f87c95505ad0a0e442bf53a315d00e9d
MD5 6e04aa765b664879a85d994deb6aa7af
BLAKE2b-256 92852b28af545c1e38478a31daf4d8722b209b0f7bc410673e8dcca2473b2e59

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page