Skip to main content

A pytest plugin to simplify testing of AiiDA workflows

Project description

Build Status Docs status PyPI version GitHub license

aiida-test-cache

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.
  • archive_cache: Implements an automatic archive creation and loading, 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_test_cache-0.0.1.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiida_test_cache-0.0.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file aiida_test_cache-0.0.1.tar.gz.

File metadata

  • Download URL: aiida_test_cache-0.0.1.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for aiida_test_cache-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fe74a19c2a5ad2b709b131902a717a35a5cf4b83b3a541076096aec57c875ffb
MD5 57f8a4b0ded26336f08a01defedce91c
BLAKE2b-256 8c6a8fd15df42bd005ab5fe88fd38504ae46e938fc1fb88444772fbda67b621e

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiida_test_cache-0.0.1.tar.gz:

Publisher: publish.yml on aiidateam/aiida-test-cache

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aiida_test_cache-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aiida_test_cache-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e7438cbf11f8d1932cfdab3e0db7aa02f4353f213c98217367ca2bb6504e998
MD5 293c001dc2aa4404dc46b22897057e7a
BLAKE2b-256 f3be5d58a60bd4acb86a4ecd6268af120f55809b3dd61efb55000b284db0f91c

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiida_test_cache-0.0.1-py3-none-any.whl:

Publisher: publish.yml on aiidateam/aiida-test-cache

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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