{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"}],"enrichment":{"capability":"A pytest plugin that automatically includes system, Python, and dependency version information in test output headers, useful for diagnosing test environments across any project.","skillfed_tags":["pytest-plugin","test-diagnostics","astropy-ecosystem"],"use_cases":["Include system and dependency versions in CI/CD test logs for reproducibility and debugging","Display Python environment details in test output when running tests locally or in containers","Customize which package versions appear in test headers for Astropy-related projects","Append custom diagnostic text to pytest output headers for project-specific metadata"],"what_it_does":"pytest-astropy-header is a pytest plugin that injects diagnostic metadata into test output headers. When enabled, it displays the current date, platform, Python version, encoding details, and versions of selected dependencies before tests run. This helps developers and CI systems quickly understand the environment in which tests executed, making it easier to reproduce issues or debug environment-specific failures.\n\nThe plugin is designed primarily for Astropy-affiliated projects but works with any pytest-based test suite. It can be enabled via conftest.py or setup.cfg, and supports customization of which packages appear in the header and what additional text to append. The single runtime dependency is pytest itself, making installation straightforward.","worth_installing":"Yes, if you run pytest and need environment diagnostics in test output. The plugin is lightweight, has no complex dependencies, and is actively maintained. Install it when you want test logs to automatically capture system and package version context without manual logging code."},"id":"pytest-astropy-header","links":{"html":"https://skillfed.io/packages/pytest-astropy-header","md":"https://skillfed.io/packages/pytest-astropy-header.md","pypi":"https://pypi.org/project/pytest-astropy-header/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-09-06","license_spdx":null,"license_treatment":"permissive","name":"pytest-astropy-header","python_support":"supports_current","summary":"pytest plugin to add diagnostic information to the header of the test output"},"popularity":{"monthly_downloads":314167,"position":7705,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.2"}
