Unit Test Tutorial 2
From Joomla! Documentation
Revision as of 23:08, 18 April 2010 by Ian
Looking at the Unit Test Class
In our first unit test, we create a single test. This test was a part of a presumed preexisting test class. Although an individual test can be contained in a single method, these methods have to be a part of a test class.
Unit Test classes generally inherit from the class 'PHPUnit_Framework_TestCase'.