17 lines
274 B
C++
17 lines
274 B
C++
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();
|
|
}
|
|
}
|
|
}
|