wwtest: native package-test coordinator
Single-directory package-test planner: discovers *.ww, groups white-box and external <pkg>_test sources, composes the combined test package, builds it through the sibling ww driver, and runs it with the runtime's -package/-list/-timeout-ms contract. test/package holds its E2E corpus and the manual runtime fixture set.
This commit is contained in:
20
test/package/runtime/success_test.ww
Normal file
20
test/package/runtime/success_test.ww
Normal file
@@ -0,0 +1,20 @@
|
||||
package runtime_success_test;
|
||||
|
||||
import test;
|
||||
|
||||
@test fn alpha_pass() void = {
|
||||
assert(test.current() != "");
|
||||
};
|
||||
|
||||
@test fn beta_skip() void = {
|
||||
test.skip("synthetic unavailable feature");
|
||||
};
|
||||
|
||||
@test fn gamma_expected_abort() void = {
|
||||
test.expectabort();
|
||||
abort();
|
||||
};
|
||||
|
||||
@test fn delta_pass() void = {
|
||||
assert(6 * 7 == 42);
|
||||
};
|
||||
Reference in New Issue
Block a user