This post originated from an RSS feed registered with PHP Buzz
by Stephan Schmidt.
Original Post: Testing FIT
Feed Title: a programmer's best friend
Feed URL: http://blog.php-tools.net/rss.php?version=1.0
Feed Description: The blog of PHP Application Tools
I just uploaded the package Testing_FIT to PEAR. Testing_FIT is the PHP and pearish version of Ward Cunningham's FIT http://fit.c2.com/. As such it provides an easy to use framework for acceptance software tests.
pear install Testing_FIT-beta
Simply install the PEAR package Testing_FIT browse the examples and write your own test classes. Of course, the PHP version of FIT provides the four basic fixtures: Action-, Column-, Row- and Primitve-Fixture. Also there is a Summary-Fixture that shows some statistics.
You'll see, writing tests with this PEAR package is a piece of cake. Besides, the basic idea of FIT - using HTML documents providing test data will convince you.