Skip to main content

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: assert statements, self.assert* calls, and pytest.raises/warns blocks.
  • 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/xfail
  • skipped_test (info) — a skipped test
  • xfail_test (info) — an expected-failure test
  • parse_error, no_tests_found

Metadata

Release files for tesserakit-tests 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tesserakit-tests 0.4.0
File Size Uploaded
tesserakit_tests-0.4.0.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tesserakit-tests 0.4.0
File Interpreter ABI Platform
tesserakit_tests-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / tesserakit_tests-0.4.0.tar.gz

Download URL tesserakit_tests-0.4.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d77c30923320f9b99fb876a4979a00cd0d12e0a5534dd9ca2e3a8ad83b620c51
BLAKE2b-256 checksum
How to use checksums
2b2b8cbe50200924fd5366313a2af25bfe12998ab1b4f09931d0333d5a8652ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / tesserakit_tests-0.4.0-py3-none-any.whl

Download URL tesserakit_tests-0.4.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a578f6cd2c5086dfdc64b94379e95f38b834c53029bb863e77d0727b480e1b6
BLAKE2b-256 checksum
How to use checksums
453790b2cd7524aacb9dcc132a2c84c92d1735d28c806390a5689ded55b82560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page