--- id: pytest-timestamper version: "0.0.10" license: unclear license_treatment: unclear maintenance: dormant --- # pytest-timestamper — Pytest plugin to add a timestamp prefix to the pytest output License: unclear · Maintenance: dormant · Downloads: 478.3K/mo ## What it is and what it does pytest-timestamper is a pytest plugin that automatically prepends a timestamp to each test result line in your test output. When you run pytest, instead of seeing just the test name and result, you see the exact time each test started, making it easier to spot which tests are slow or to correlate test runs with external events. The plugin activates on installation and requires no configuration to use, though it does support custom timestamp and prefix formats via command-line flags. The plugin has no runtime dependencies and installs as a simple wheel. It is classified as dormant—the last commit was in March 2024 and there have been no releases in over 870 days—so while it should continue to work for existing pytest versions, it may not track newer pytest or Python releases. The license is unspecified in the package metadata, which is a minor risk if you need explicit license clarity. Use it for: - Correlate slow test runs with timestamps to identify when performance degraded or external services were unavailable. - Debug test flakiness by seeing the exact time each test ran and cross-referencing with system logs or monitoring data. - Track test execution duration in CI/CD logs where you need to know when each test started, not just how long it took overall. - Monitor long test suites to spot which tests are taking longer than expected on particular runs. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A pytest plugin that prefixes each test output line with a timestamp, helping you see when individual tests started running. Yes, if you want a simple timestamp prefix in pytest output and don't need active maintenance. The plugin is low-friction to install, has no dependencies, and works out of the box. However, the dormant status and unclear license mean you should verify it works with your pytest version and clarify the license before using it in production or commercial contexts. ## Install pip install pytest-timestamper uv add pytest-timestamper poetry add pytest-timestamper ## Installing pytest-timestamper Before you install: Low friction install with no runtime dependencies. The project is dormant (last commit 2024-03-27, no releases in 870 days), but the wheel distribution and straightforward pytest integration mean it should work without maintenance overhead. License in practice: License status is unclear—no SPDX identifier or raw license text is recorded. Before relying on this in a commercial or copyleft-sensitive context, verify the actual license in the repository. Quickstart: pip install pytest-timestamper python3 -m pytest -v # Timestamps now appear in output: [2021-06-06 12:19:06] tests/test_one.py::test_dummy PASSED Verify before relying: - Whether the plugin works with pytest versions beyond 6.3.0.dev494 (the version shown in the example output) - Compatibility with Python 3.10+ (classifiers only list up to 3.9) - Whether customization via --prefixfmt and --datefmt options works as documented ## Package facts - License: not declared (unclear) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 478.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest timestamp plugin, test output timestamps, pytest timing prefix, when did test run, pytest test timing, pytest execution timestamps, test start time logging, pytest-plugin, test-timing [View on SkillFed](https://skillfed.io/packages/pytest-timestamper) · [View on PyPI](https://pypi.org/project/pytest-timestamper/)