Initial commit
This commit is contained in:
commit
91d54c58d5
42 changed files with 2212 additions and 0 deletions
17
src/test/runner.cppm
Normal file
17
src/test/runner.cppm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
export module bedrock.test:runner;
|
||||
|
||||
import :api;
|
||||
|
||||
using namespace br;
|
||||
|
||||
int main() {
|
||||
for (Scenario& scn : allScenarios()) {
|
||||
for (Precondition& pre : scn.preconditions) {
|
||||
pre.definition();
|
||||
}
|
||||
|
||||
for (Expectation& exp : scn.expectations) {
|
||||
exp.definition();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue