Fetching latest headlines…
hollowtest 0.3: git-changed, SARIF, pre-commit, GitHub Action
NORTH AMERICA
🇺🇸 United StatesJuly 21, 2026

hollowtest 0.3: git-changed, SARIF, pre-commit, GitHub Action

0 views0 likes0 comments
Originally published byDev.to

hollowtest 0.3.0 is about putting the scanner where AI-written tests actually land — the pre-commit hook, the PR, and code scanning.

Git-aware scanning

Agents and humans both benefit from only checking what changed:

hollowtest --git-changed          # vs HEAD + untracked
hollowtest --staged               # index only (pre-commit)
hollowtest --git-changed --base origin/main

No changed Python files → exit 0. Fits tight edit loops without re-scanning a huge suite.

SARIF + GitHub Action

hollowtest tests/ --format sarif -o hollowtest.sarif

Or use the composite action:

- uses: SybilGambleyyu/[email protected]
  with:
    path: tests
    fail-on: warning
    sarif: hollowtest.sarif
- uses: github/codeql-action/upload-sarif@v3
  if: always()
  with:
    sarif_file: hollowtest.sarif

pre-commit

repos:
  - repo: https://github.com/SybilGambleyyu/hollowtest
    rev: v0.3.0
    hooks:
      - id: hollowtest

HT003 tweak

assert result is None is usually the behaviour under test. Only assert result is not None (and friends) counts as hollow presence theater now.

Get it

pip install -U git+https://github.com/SybilGambleyyu/[email protected]

Comments (0)

Sign in to join the discussion

Be the first to comment!