Open sysgen opened 7 years ago
At the moment, there's a single test runner and while the tests all appear individually, its a single class/method performing the tests within the suite. From what I can see, there's no obvious way to make these tests runnable individually, other than dynamically creating class/test methods on the fly. JUnit 5 (Currently at M3 status) will support dynamic tests and a test factory which will make individual running possible.
Has relationship to issue 10 where story runner needs to link the scenario to the actual runner.
I have a workaround for this issue in the mean time:
By overriding the storyPaths method in the test runner, you can dynamically craft a list of comma separated strings to look for stories. By commenting out lines you can temporarily disable looking for stories in certain folders.
You folder structure would have to look like:
Provide a method in which to run only a subset of the .story files present in a project (even running only a single story would be helpful).