SimpleTest
SimpleTest is an open source Unit test framework for the PHP programming language and was created by Marcus Baker. The test structure is similar to JUnit/PHPUnit. SimpleTest can be used to automate the regression testing of web applications with scriptable mock objects.
With SimpleMail extensions SimpleTest can be used a way of testing for successful transfer of emails. This is a very useful addition for testing websites or scripts that send emails as a part of a registration or purchase transaction for example.
SimpleTest is an important tool for Test-driven development of software written in PHP.
External links
- SimpleTest (also @sourceforge: http://sourceforge.net/projects/simpletest)
Add Ons
- SimpleMail
- fakemail
- simpletestxul - XUL frontend for running tests
Docs / Articles / Tutorials
- Official API Docs and Tutorials
- UnitTesting in PHP using SimpleTest
- Coding a Login Box Shouldn't Hurt
- Simple Test Remote Testing
- Introduction to SimpleTest (talk at FOSDEM, Brussels, 2005)