I'm extending RUnit (a unit testing suite for R) so that it produces also output that can be read by Hudson. actually I already have something that does this, but it does not handle 'deactivated' tests.
to see what I mean, have a look at the r-forge project 'rtest' (it temporarily identifies itself as RUnit, but it further works rather smoothly), and check the junitProtocol.r file
the problem is that I did not manage to find any definition of the schema accepted by Hudson and I did manage to convince a Java project to fail and error, so that its test suite would add a <failure/>
and <error/>
element inside of a few <testcase/>
elements, but I did not manage to see what happens with a @Ignore @Test
decoration.
many others have asked this same question, for example here too, but in the end one gets to this page which is a good starting point but is not complete. for example, it does not mention the <error/>
element I discovered by trial and error.
I tried to read the source read by Hudson, but I did not find where to start.
any hints?