Aura’s MVP test runner is the test CLI verb (RFC-011).
Run tests
Single file:
aura test corpus/test/smoke.aura
# monorepo: cargo run -p aura-cli -- test corpus/test/smoke.auraWhole package:
aura test corpus/multi
aura test examples/notes@test functions
Mark test entrypoints with @test. Use assert / assert_eq (and std.assert where applicable) for checks on Int, String, and Bool in the current MVP.
@test
fun adds() {
assert_eq(1 + 1, 2)
}See corpus/test/ and package-level tests under corpus/ / examples/notes for patterns that compile today.
Design intent
RFC-011 describes a broader framework (discovery, filtering, reporting). The working path today is: compile the package or file, discover @test functions, run them via the runtime, report pass/fail.
Next
- Getting started
- Standard library
- RFC-011 — testing framework design