aiken buildaiken.toml
[config.default]
network_id = 41Or, alternatively, write conditional environment modules under env.
You can write tests in any module using the test keyword. For example:
use config
test foo() {
config.network_id + 1 == 42
}To run all tests, simply do:
aiken checkTo run only tests matching the string foo, do:
aiken check -m fooIf you're writing a library, you might want to generate an HTML documentation for it.
Use:
aiken docsFind more on the Aiken's user manual.