r/coolgithubprojects • u/Ok-Buyer-9421 • 2h ago
Open-source testing framework for rules linters can't express
I built a tool that turns written engineering conventions into executable checks.
Instead of sending every code change to an LLM, Agentests:
- Uses glob to select relevant files.
- Uses grep for deterministic checks.
- Uses specialized decision models like Jev for semantic judgments.
- Validates assertions against passing and failing examples.
For example, you can enforce rules like "never mock our own React hooks in tests" or "never silently swallow domain errors."
The idea is to use deterministic logic wherever possible and intelligence only where necessary. Not everything that requires intelligence needs a general-purpose LLM.
Model-agnostic, MIT-licensed, and independent of who writes the code.
Still early. I'd love feedback, especially from developers trying it on their own repositories.
https://github.com/feuersteiner/agentests
Thank you!