Fetching latest headlines…
hollowtest 0.2: config, suppressions, and less noise
NORTH AMERICA
🇺🇸 United StatesJuly 21, 2026

hollowtest 0.2: config, suppressions, and less noise

0 views0 likes0 comments
Originally published byDev.to

hollowtest 0.2.0 is out — a hardening pass after running the scanner on real, high-quality suites.

What changed

Config and suppressions. You can now ignore rules project-wide via .hollowtest.toml or [tool.hollowtest] in pyproject.toml, exclude fixture trees, and silence individual tests with # hollowtest: ignore (or # noqa: HT003). hollowtest --init writes a starter file.

HT006. Type-check theater — tests that only do isinstance(x, dict) or assertIsInstance — is now a first-class warning. Still fine when paired with a real value assertion.

Fewer false positives. The first release treated assert client.trust_env like hollow “existence” checking. Boolean attribute checks are real assertions; the AI hollow pattern is almost always assert result is not None or a bare assert result. HT003 now reflects that.

Discovery. Methods on unittest.TestCase subclasses are collected even when the class is not named Test*.

Noise check

Against current main branches (ballpark):

Suite Tests Findings
httpx 539 5
click 524 15
hollowtest itself 41 0

Most remaining hits are genuinely weak smoke tests (close-without-assert, type-only wiring checks). That is the intended zone: useful signal without drowning a mature project.

Upgrade

pip install -U git+https://github.com/SybilGambleyyu/hollowtest.git
hollowtest tests/ --fail-on warning

Release notes: v0.2.0. Original write-up: hollowtest: find tests that pass but prove nothing.

Comments (0)

Sign in to join the discussion

Be the first to comment!