views:

94

answers:

1

I'm doing some work with CakePHP and want to use Hudson. I can run all kinds of plugins but I don't see anything for SimpleTest. Until Cake 2.0 comes out and they move to PHPUnit, I'd like to figure out how to run SimpleTest with Hudson.

+1  A: 

Are you having trouble running SimpleTest or are you having trouble getting Hudson to parse the test output so you can track tests and failures?

Regarding parsing, it looks like SimpleTest can generate some form of XML output (see Test reporter documentation), but it's not clear to me whether the Hudson xUnit plugin can parse it.

I would start by trying the xUnit plugin. If the SimpleTest XML output is not compatible out of the box, it's probably easiest to extend/modify the SimpleTest XML reporter to output a xUnit compatible format. A previous question about the expected XML unit test schema has some useful links regarding the expected format.

Dave Bacher