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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesserakit_tests-0.4.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesserakit_tests-0.4.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

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

Hashes for tesserakit_tests-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d77c30923320f9b99fb876a4979a00cd0d12e0a5534dd9ca2e3a8ad83b620c51
MD5 504ac4acf133d9d9dd7fd2658a7ab76d
BLAKE2b-256 2b2b8cbe50200924fd5366313a2af25bfe12998ab1b4f09931d0333d5a8652ee

See more details on using hashes here.

File details

Details for the file tesserakit_tests-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tesserakit_tests-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a578f6cd2c5086dfdc64b94379e95f38b834c53029bb863e77d0727b480e1b6
MD5 6c01389decea87ca6621a0058470a78f
BLAKE2b-256 453790b2cd7524aacb9dcc132a2c84c92d1735d28c806390a5689ded55b82560

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page