test
Slug Test — unit test runner
Discovers and runs @test and @testWith tagged functions in the given source files, reporting passes, failures, and errors.
Usage:
slug test [options] <test files...>
Test examples:
@test
val simpleTest = fn() {
assert(1 + 1 == 2)
}
@testWith(
[1, 2, 3], 3,
[7, 9, 8], 9,
[4, 5, 3], 5
)
val max = fn(a, ...b) { ... }
Options:
-h, --helpshow this screen-v, --versionshow version--verboseshow passing tests as well as failures