Difference between revisions of "Unit Test Tutorial 2"
From Joomla! Documentation
(New page: == 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 conta...) |
(No difference)
|
Revision as of 23:08, 18 April 2010
Looking at the Unit Test Class[edit]
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'.