Tests job pack for Tessera: audit a Python test suite for hygiene (no-assert, skipped, xfail).
Project description
tesserakit-tests
Audit a Python test suite for hygiene problems.
tessera-tests parses test files with ast (never imports or runs them), inventories the test functions and methods, and surfaces the tests that aren't really protecting anything: tests with no assertions, and tests that are skipped or expected to fail.
Audit
tessera tests audit --input . --output ./out/tests_pack
Test discovery follows pytest/unittest conventions: files named test_*.py / *_test.py or under a tests/ directory; functions named test*; methods named test* inside Test* classes.
Artifacts written:
tests.jsonl one TestCase per test (asserts, skip/xfail/param flags)
index.md the test inventory
validation_report.md hygiene findings
coverage_report.md counts (skipped/xfail/parametrized/no-assert) + per-file
not_running.md skipped + xfail tests (present but not protecting anything)
What it detects
- Assertions:
assertstatements,self.assert*calls, andpytest.raises/warnsblocks. - Markers:
@pytest.mark.skip/skipif,xfail,parametrize(matched on the decorator name).
Findings
no_assertion_test(warning) — a test with zero assertions that isn't skipped/xfailskipped_test(info) — a skipped testxfail_test(info) — an expected-failure testparse_error,no_tests_found
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tesserakit_tests-0.4.0.tar.gz.
File metadata
- Download URL: tesserakit_tests-0.4.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d77c30923320f9b99fb876a4979a00cd0d12e0a5534dd9ca2e3a8ad83b620c51
|
|
| MD5 |
504ac4acf133d9d9dd7fd2658a7ab76d
|
|
| BLAKE2b-256 |
2b2b8cbe50200924fd5366313a2af25bfe12998ab1b4f09931d0333d5a8652ee
|
File details
Details for the file tesserakit_tests-0.4.0-py3-none-any.whl.
File metadata
- Download URL: tesserakit_tests-0.4.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a578f6cd2c5086dfdc64b94379e95f38b834c53029bb863e77d0727b480e1b6
|
|
| MD5 |
6c01389decea87ca6621a0058470a78f
|
|
| BLAKE2b-256 |
453790b2cd7524aacb9dcc132a2c84c92d1735d28c806390a5689ded55b82560
|