{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Provides pytest fixtures for writing regression tests that compare current output against saved baseline data (text, images, files, numeric tables).","skillfed_tags":["regression-testing","pytest-plugin","baseline-comparison"],"use_cases":["Verify that refactored code produces identical output to the original implementation.","Test image generation or rendering by comparing pixel data against saved reference images.","Validate formatted reports, logs, or structured text output remains unchanged across releases.","Regression-test numeric computation results (tables, matrices) against known-good baselines.","Detect unintended changes in file generation or serialization behavior."],"what_it_does":"pytest-regressions is a pytest plugin that simplifies writing regression tests by automating the comparison of test output against saved baseline data. Instead of manually writing assertions for complex outputs, you save the expected result once and the fixture automatically verifies that future test runs produce identical data. It handles general data, images, files, and numeric tables through a unified interface.\n\nThe plugin integrates with pytest-datadir to manage baseline data files in a dedicated directory structure. When a test runs, the fixture compares the current output to the stored baseline; on first run or when you intentionally update baselines, it saves the new data. This approach is particularly useful for testing functions that produce complex, multi-line, or binary output where manual assertion writing would be tedious or error-prone.","worth_installing":"Yes. Low install friction, active maintenance, no known vulnerabilities, and permissive MIT license. The plugin solves a real testing problem\u2014baseline comparison\u2014that would otherwise require boilerplate assertion code. Suitable for any project using pytest that needs to validate complex or binary outputs."},"id":"pytest-regressions","links":{"html":"https://skillfed.io/packages/pytest-regressions","md":"https://skillfed.io/packages/pytest-regressions.md","pypi":"https://pypi.org/project/pytest-regressions/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-25","license_spdx":null,"license_treatment":"permissive","name":"pytest-regressions","python_support":"supports_current","summary":"Easy to use fixtures to write regression tests."},"popularity":{"monthly_downloads":1026806,"position":4477,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.11.0"}
