[Windmill-dev] PHPUnit integration

Sam Minnee sam at silverstripe.com
Tue Aug 7 23:11:49 PDT 2007


My main goals in PHPUnit integration were:
 
 1) Ensuring that we can run a full test suite with a single command - 
 both the windmill UI tests and our PHPUnit back-end unit tests
 2) Ensuring that appropriate fixtures are set up for the test - point 
 the testing codebase to an appropriate test database, for example
 3) Let us code everything in one language (PHP)
 
 It seems like (1) and (2) could be done by having a PHPUnit test that 
 set up the fixture, and then passed control to tinderbox-mode 
 windmill, executing a python test.
 
 I think I'll leave the PHPUnit-based test authoring library until 
 after 0.3.
 FYI: There *is* PHPUnit / Selenium integration, as described here: 
 http://www.phpunit.de/pocket_guide/3.1/en/selenium.html
 
 SamOn 8/08/2007, at 1:06 PM, Mikeal Rogers wrote:
 
 > Actually our tinderbox work isn't in perl at all. Tinderbox simply 
 > runs a command line windmill which pulls in JSON or XMLRPC based 
 > tests and spits out some text that tinderbox can parse about the 
 > results.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/windmill-dev/attachments/20070808/0cd2f651/attachment.htm


More information about the Windmill-dev mailing list