The testrunner is a purre commandline testrunner. It can generate html output for code coverage and the like but you're not supposed to view it from a web browser. Just enter the directory and call php run- tests.php --help to get some help about available options.
felix On Oct 14, 2009, at 8:57 PM, Michal Charemza wrote: > Hi, > > I'm starting a new (hopefully long-term) project, and I'm wanting to > do things "the right way": i.e. with tests. This is the first time I'm > doing any proper testing with PHP, and I have a question: > > How do I properly run the tests included with the sample app? I tried > by viewing test/run-tests.php in the browser, and it presented with a > page that almost looks like the source of a HTML page, except it has > some PHPUnit messages at the beginning. Presumably the tests are > actually running, but it's a very difficult way of looking at the > results > > Michal > > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users > -- Felix Gilcher Bitextender GmbH Paul-Heyse-Str. 6 D-80336 München T: +49 89 57 08 15 16 F: +49 89 57 08 15 17 M: +49 172 840 88 28 [email protected] http://www.bitextender.com/ Amtsgericht München, HRB 174280 Geschäftsführer: David Zülke, Florian Clever _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
