- phpunit –skeleton-test [class name] [yourfilename.php] (This will create a layout for test case with a class name you have given as a file named your filename suffixed “Test”)
- You can the file to check for results how may passed and how many failed
- We can add any number of cases for each function in the class as in the example below
Search This Blog
Sunday, April 11, 2010
Using PHPUnit
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment