vybtest
v0.1.1
Published
AI-Native Testing Framework - Write tests in YAML, get structured output for autonomous TDD
Maintainers
Readme
Installation
npm install -g vybtestQuick Start
Create player.ts.vyb:
"player starts with full health":
confidence: 0.95
when:
- "player = createPlayer(100, 100)"
then:
- "expect: player.health == 100"Run:
vyb run tests/Output:
tests:
- name: player starts with full health
status: fail
actual: 50
expected: 100
hints:
- The equality check failedYour AI reads the structured output, sees actual: 50 vs expected: 100, and fixes the code.
Why Vyb
Traditional test output is designed for humans. Stack traces, diff formatting, ANSI colors. Your AI has to guess what went wrong.
Vyb outputs structured YAML with:
- Actual and expected values
- Failure location
- Pattern-matched hints
- Confidence guidance
Zero API calls. Zero cost. Just tests that tell AI exactly what failed.
Documentation
Full documentation at vybtest.com
License
MIT
