aiida-test-cache


Nameaiida-test-cache JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryA pytest plugin to simplify testing of AiiDA workflows
upload_time2024-12-04 18:37:32
maintainerNone
docs_urlNone
authorDominik Gresch, Leopold Talirz, Jens Bröder, Philipp Rüßmann, AiiDA team
requires_python>=3.7
licenseNone
keywords aiida testing pytest mock cache
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Build Status](https://github.com/aiidateam/aiida-test-cache/actions/workflows/ci.yml/badge.svg)](https://github.com/aiidateam/aiida-test-cache/actions)
[![Docs status](https://readthedocs.org/projects/aiida-testing/badge)](https://aiida-testing.readthedocs.io/)
[![PyPI version](https://badge.fury.io/py/aiida-test-cache.svg)](https://badge.fury.io/py/aiida-test-cache)
[![GitHub license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/aiidateam/aiida-test-cache/blob/main/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](https://aiida-testing.readthedocs.io/).


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aiida-test-cache",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "AiiDA, testing, pytest, mock, cache",
    "author": "Dominik Gresch, Leopold Talirz, Jens Br\u00f6der, Philipp R\u00fc\u00dfmann, AiiDA team",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/8c/6a/8fd15df42bd005ab5fe88fd38504ae46e938fc1fb88444772fbda67b621e/aiida_test_cache-0.0.1.tar.gz",
    "platform": null,
    "description": "[![Build Status](https://github.com/aiidateam/aiida-test-cache/actions/workflows/ci.yml/badge.svg)](https://github.com/aiidateam/aiida-test-cache/actions)\n[![Docs status](https://readthedocs.org/projects/aiida-testing/badge)](https://aiida-testing.readthedocs.io/)\n[![PyPI version](https://badge.fury.io/py/aiida-test-cache.svg)](https://badge.fury.io/py/aiida-test-cache)\n[![GitHub license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/aiidateam/aiida-test-cache/blob/main/LICENSE)\n\n# aiida-test-cache\n\nA pytest plugin to simplify testing of AiiDA plugins. This package implements two ways of running an AiiDA calculation in tests:\n- `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.\n- `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. \n\nFor more information, see the [documentation](https://aiida-testing.readthedocs.io/).\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A pytest plugin to simplify testing of AiiDA workflows",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://aiida-testing.readthedocs.io/"
    },
    "split_keywords": [
        "aiida",
        " testing",
        " pytest",
        " mock",
        " cache"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f3be5d58a60bd4acb86a4ecd6268af120f55809b3dd61efb55000b284db0f91c",
                "md5": "293c001dc2aa4404dc46b22897057e7a",
                "sha256": "8e7438cbf11f8d1932cfdab3e0db7aa02f4353f213c98217367ca2bb6504e998"
            },
            "downloads": -1,
            "filename": "aiida_test_cache-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "293c001dc2aa4404dc46b22897057e7a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 19676,
            "upload_time": "2024-12-04T18:37:31",
            "upload_time_iso_8601": "2024-12-04T18:37:31.221810Z",
            "url": "https://files.pythonhosted.org/packages/f3/be/5d58a60bd4acb86a4ecd6268af120f55809b3dd61efb55000b284db0f91c/aiida_test_cache-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c6a8fd15df42bd005ab5fe88fd38504ae46e938fc1fb88444772fbda67b621e",
                "md5": "57f8a4b0ded26336f08a01defedce91c",
                "sha256": "fe74a19c2a5ad2b709b131902a717a35a5cf4b83b3a541076096aec57c875ffb"
            },
            "downloads": -1,
            "filename": "aiida_test_cache-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "57f8a4b0ded26336f08a01defedce91c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 15883,
            "upload_time": "2024-12-04T18:37:32",
            "upload_time_iso_8601": "2024-12-04T18:37:32.964113Z",
            "url": "https://files.pythonhosted.org/packages/8c/6a/8fd15df42bd005ab5fe88fd38504ae46e938fc1fb88444772fbda67b621e/aiida_test_cache-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-04 18:37:32",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aiida-test-cache"
}
        
Elapsed time: 0.39313s