{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/9"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"pytest-harvest captures and stores data generated during test execution, making it available for retrieval after the test session completes\u2014useful for benchmarking, result aggregation, and post-test analysis.","skillfed_tags":["pytest-plugin","test-metrics","benchmarking"],"use_cases":["Collect performance metrics from multiple test runs and generate a summary report at the end of the session.","Store custom data (e.g., API response times, memory usage) from each test for later analysis or export.","Aggregate test results into a dataframe for statistical analysis or visualization after the test suite finishes.","Benchmark different code paths across a test suite and compare results in a single report.","Archive test artifacts and metadata for post-mortem analysis without writing individual files per test."],"what_it_does":"pytest-harvest is a pytest plugin that intercepts and stores arbitrary data generated during test execution, then makes that data available after the test session ends. It's designed for scenarios where you need to collect metrics, benchmarks, or other artifacts from individual tests and analyze them as a group\u2014rather than just pass/fail results.\n\nThe package works by providing hooks into pytest's execution lifecycle. You store data during test runs (typically via fixtures or direct API calls), and pytest-harvest holds that data in memory, making it queryable once all tests complete. This is particularly useful for applicative benchmarking, where you want to gather performance numbers from many test cases and analyze them together, or for collecting structured test artifacts that need post-processing.","worth_installing":"Yes, if you need to collect and aggregate data across multiple tests for benchmarking or post-test analysis. The package is production-stable, has low install friction, and carries no security vulnerabilities. The aging status (881 days since release) is a minor concern but not a blocker if pytest compatibility remains adequate; verify that it works with your pytest version before committing to it."},"id":"pytest-harvest","links":{"html":"https://skillfed.io/packages/pytest-harvest","md":"https://skillfed.io/packages/pytest-harvest.md","pypi":"https://pypi.org/project/pytest-harvest/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-03-16","license_spdx":null,"license_treatment":"permissive","name":"pytest-harvest","python_support":"unspecified","summary":"Store data created during your pytest tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes."},"popularity":{"monthly_downloads":730549,"position":5212,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.10.5"}
