We need to support test annotations; the initial form is supposed to work just as tags, but later
Bikeshedding syntax proposal:
MAYFLY_ADD_TESTCASE("foo [basic] [!all]", []()
{
MAYFLY_REQUIRE(false);
});
Required futures:
./test-binary implicitly runs everything in [all]; require an explicit annotation of [!all] to exclude from execution by default
./test-binary -a basic runs all tests in [basic]
./test-binary -a '!basic' runs all tests but those in [basic]
./test-binary -a basic -a parallel runs all tests in [basic] and all tests in [parallel]
./test-binary -a 'basic+parallel' runs all tests that are tagged with both [basic] and [parallel]
We need to support test annotations; the initial form is supposed to work just as tags, but later
Bikeshedding syntax proposal:
Required futures:
./test-binaryimplicitly runs everything in[all]; require an explicit annotation of[!all]to exclude from execution by default./test-binary -a basicruns all tests in[basic]./test-binary -a '!basic'runs all tests but those in[basic]./test-binary -a basic -a parallelruns all tests in[basic]and all tests in[parallel]./test-binary -a 'basic+parallel'runs all tests that are tagged with both[basic]and[parallel]