Vibe.TestRunner (vibe v0.1.0)
View SourceRuns tests with AI-friendly output formatting.
Summary
Functions
Parse coverage output.
Parse test output.
Run tests with the given options.
Run tests with coverage reporting.
Functions
Parse coverage output.
Parameters
- output: Output from running mix coveralls
Returns
- Map with parsed coverage results
Parse test output.
Parameters
- output: Output from running mix test
- exit_code: The exit code from the test run
Returns
- Map with parsed test results
Run tests with the given options.
Parameters
- paths: List of test file paths to run (optional)
- options: Test options
- only: Run only tests with the given tag
- exclude: Exclude tests with the given tag
- seed: Set the random seed
- trace: Run tests with detailed trace output
Returns
{:ok, results}
- Test results{:error, message}
- Error during test run
Run tests with coverage reporting.
Parameters
- paths: List of test file paths to run (optional)
- options: Test options (same as run_tests/2)
Returns
{:ok, results}
- Test results including coverage{:error, message}
- Error during test run