Asama 9.2 — Implement built-in test framework (saqut test) #64

Closed
opened 2026-05-26 19:53:24 +03:00 by saqut · 0 comments
Owner

Goal: saqut test discovers and runs test functions in the project.

Files to create/modify:

  • src/cli/commands/test.hpp (new)
  • lib/test.sqt

Requirements:

  • Functions annotated with #[test] or named test_* are test functions.
  • saqut test runs all tests, reports pass/fail.
  • assert() and assert_eq() built-in.
  • TAP or JUnit XML output.

Success criteria:

  • saqut test in a project runs test functions.
  • Failures report file and line number.
**Goal:** saqut test discovers and runs test functions in the project. **Files to create/modify:** - src/cli/commands/test.hpp (new) - lib/test.sqt **Requirements:** - Functions annotated with #[test] or named test_* are test functions. - saqut test runs all tests, reports pass/fail. - assert() and assert_eq() built-in. - TAP or JUnit XML output. **Success criteria:** - saqut test in a project runs test functions. - Failures report file and line number.
saqut closed this issue 2026-06-14 21:53:12 +03:00
Sign in to join this conversation.
No description provided.