I have installed PHPUnit via Pear.
While I try testing via PHPUnit,even after giving the test file path it shows error: The system cannot find the path specified.
I have tried Sample code in : https://netbeans.org/kb/docs/php/phpunit.html?print=yes#installing-phpunit
<?php
class Calculator
{
/**
* @assert (0, 0) == 0
* @assert (0, 1) == 1
* @assert (1, 0) == 1
* @assert (1, 1) == 2
* @assert (1, 2) == 4
*/
public function add($a, $b)
{
return $a + $b;
}
}
?>