3 ms·
Interesting. But how would one test "know" about the next one, especially if they are in different compilation units.
by ant6n 5y ago
Interesting. But how would one test "know" about the next one, especially if they are in different compilation units.
- JonChesterfield 5y agoDiscovery is at runtime. Syntax goes something like MODULE(foo) { DEPENDS(bar); TEST("I like string names") { CHECK(42 == life()); } } where DEPENDS either sends control flow off to bar or onwards towards the test case depending on the value of an argument to the function MODULE created.