Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find extended HTML reporters for Simpletest?

I am using Simpletest as my unit test framework for the PHP site I am currently working on. I like the fact that it is shipped with a simple HTML reporter, but I would like a bit more advanced reporter.

I have read the reporter API documentation, but it would be nice to be able to use an existing reporter, instead of having to do it yourself.

Are there any good extended HTML reporters or GUI's out there for Simpletest?

Tips on GUI's for PHPUnit would also be appreciated, but my main focus is Simpletest, for this project. I have tried Cool PHPUnit Test Runner, but was not convinced.

like image 580
Erik Öjebo Avatar asked Nov 06 '22 23:11

Erik Öjebo


2 Answers

For SimpleTest I can't say I've ever found any "better" test reporters, so you may have to just buckle down and hack together some quick HTML/PHP for what you need.

As for PHPUnit, there's PHPUnit2_HTML_Runner, but it is far from ideal. However, if you're willing to set up a continuous integration server like Xinc or phpUnderControl you can get two very nice, very detailed automated testing interfaces.

like image 135
Eric Scrivner Avatar answered Nov 12 '22 20:11

Eric Scrivner


Does SimpleTest output JUnit XML style reports? If it does, you should be able to integrate it into CruiseControl or Bamboo.

like image 28
Gary Richardson Avatar answered Nov 12 '22 21:11

Gary Richardson