Add @test decorator for built-in testing
- @test("description") decorator marks functions as tests
- assert(condition, message) works in both bash and @awk functions
- content test command runs all @test functions
- Colored output with timing, pass/fail status
- DCE skips @test functions in normal compilation mode
- Supports combining @test with other decorators (@awk, @retry, etc.)
Showing
examples/test_example.ct
0 → 100644
Please
register
or
sign in
to comment