provide a way for test collector to find custom test suites
|Reported by:||acapnotic||Owned by:|
We have some data-driven tests here, which we turn in to unittest-compatible tests by writing a bit of code to stuff them in to TestSuites. It'd be nice if there were a way to expose these custom TestSuites to trial's test collector.
Last time I chatted with people about this, there wasn't clearly an existing convention for that. It probably ends up looking something like "if a test module has a function with the magic name createTests(), trial runs it and collects the returned tests or suites."
(You can probably convince me to provide a patch. Let me know if there are behaviors that are particularly desirable or unacceptable.)
Change History (15)
comment:14 Changed 8 years ago by acapnotic
- Resolution set to fixed
- Status changed from new to closed