fitnesse icon indicating copy to clipboard operation
fitnesse copied to clipboard

A way to recognize ignored tests when running them through JUnit/FitNesseRunner

Open hansjoachim opened this issue 9 years ago • 2 comments

Hello

I have been looking a bit at FitNesseRunner and how I can run FitNesse tests as part of a build process. While it will report passing and failing tests as expected, I haven't found a way to make it report ignored tests. I have put together a small proof of concept as an example. I've explained more in-depth in the readme, but at the moment I have one enabled and one ignored tests but it only counts the passing test. If I ignore the second one as well, I only get an error message saying it expected at least one test to run.

So I basically wonder if it is (or would be possible to add) a way to report these tests as ignored to the JUnit results. Currently I would need to run FitNesse and open the wikipage with the test suite in order to tell whether there are any ignored tests. (Or I could run grep -rin "Prune" FitNesseRoot, I suppose.)

Reporting the number of ignored tests would be useful so that developers can notice and react to it, it is possible to set threshold levels in continous integration etc.

PS. With regards to the recent changes to CONTRIBUTING.md: this is arguably a question, but to me it looks like a feature request.

hansjoachim avatar Apr 13 '15 18:04 hansjoachim