This is just for fun. I don't see why this would ever be useful and it'll probably remain incomplete or limited.
You can write tests in any module using the test
keyword. For example:
test foo() {
1 + 1 == 2
}
To run all tests, simply do:
aiken check
To run only tests matching the string foo
, do:
aiken check -m foo
If you're writing a library, you might want to generate an HTML documentation for it.
Use:
aiken docs
Find more on the Aiken's user manual.