0

Is there any way to use a rule to add additional tests? For example, I would like to convert the Theories runner to a rule, but I haven't been able to find a way to make Rules add additional tests.

Cobra1117
  • 1,150
  • 3
  • 11
  • 26
  • This is not possible. Rules cannot add tests. You need a `Runner` for that. Can you explain why you want that? – Björn Pollex Feb 06 '14 at 15:07
  • We need to combine the functionality of Spring's runner and the Theories runner. I was hoping to use rules, since Runners are very low-level (comparatively). Guess I'll have to write a custom runner. – Cobra1117 Feb 06 '14 at 16:38
  • We once had the same problem with combining the Parameterized and the Parallelized runners - we wrote a custom runner for that as well. – Björn Pollex Feb 06 '14 at 22:48

0 Answers0