This procedure describes how to create a PHP Unit test case.
Zend Studio will automatically create test case files which can be run in order to check the functionality of your code.
You must first create a file containing a class with functions which will be tested when the PHPUnit Test case is run.
|
|
|
To create a PHPUnit Test Case:
New PHPUnit Test Case dialog
|
Once you have completed the file by creating relevant test functions and inserting parameters, your PHPUnit test case is ready to be run. |
See the Running a PHPUnit Test Case topic for instructions on how to run your PHPUnit Test Case.
|
|
|
Related Links: |
|
|
©1999-2013 Zend Technologies LTD. All rights reserved.