Fetching latest headlines…
hollowtest 0.4: pytest plugin and baseline mode
NORTH AMERICA
🇺🇸 United StatesJuly 21, 2026

hollowtest 0.4: pytest plugin and baseline mode

0 views0 likes0 comments
Originally published byDev.to

hollowtest 0.4.0 is about adoption — drop it into the test run you already have, and land it on a large suite without fixing everything on day one.

pytest plugin

Same package, new entry point:

pip install git+https://github.com/SybilGambleyyu/[email protected]
pytest --hollowtest
pytest --hollowtest --hollowtest-fail-on=warning
[tool.pytest.ini_options]
addopts = ["--hollowtest", "--hollowtest-fail-on=error"]

After collection, hollowtest scans the modules pytest collected and fails the session if hollow tests cross your threshold. One process, one CI step.

Baseline mode

Mature repos often already have a few weak smoke tests. Baseline freezes them so only new hollow tests fail:

hollowtest tests/ --update-baseline .hollowtest-baseline.json
git add .hollowtest-baseline.json

# CI
hollowtest tests/ --baseline .hollowtest-baseline.json --fail-on warning

Keys are (path, test_name, rule_id). Fix a test → remove its line (or regenerate). Agents that add empty test_* stubs get caught immediately.

Also

Text summaries now include rule tallies: 3 finding(s) … [HT001×1, HT005×2].

Get it

Comments (0)

Sign in to join the discussion

Be the first to comment!