Advanced Search
Search Results
2 total results found
Create a PHP unit test case using SimpleTest
Programming and Web Development
PHP
You can download SimpleTest at https://sourceforge.net/projects/simpletest/Suppose you have a PHP file called math.php that contains functions that you want to test.<?function square($x) { return $x * $x;}function cube($x) { return $x * $x * $x;}?>Then y...
What kind of test can SimpleTest do?
Programming and Web Development
SimpleTest’s unit tester is designed to test PHP code. Also its web browser component (think of it as a fake browser from the POV of a web server) can be used to test web pages.