See in the Build system tricks: Run your test suite exposed with std.testing.refAllDecls
To run tests from imported modules add the following code in the root source file:
test {
std.testing.refAllDecls(@This());
}
See in the Build system tricks: Run your test suite exposed with std.testing.refAllDecls
To run tests from imported modules add the following code in the root source file:
test {
std.testing.refAllDecls(@This());
}