Testowanie jedynej klasy projektu treningowego działa. Gdy chcę code-coverage to wywala mi:
"C:\wamp\www\treningPHPUnitSymfony2.8\bin\phpunit.bat" "--colors" "--log-junit" "C:\Users\chiny\AppData\Local\Temp\nb-phpunit-log.xml" "--coverage-clover" "C:\Users\chiny\AppData\Local\Temp\nb-phpunit-coverage.xml" "C:\Program Files\NetBeans 8.1\php\phpunit\NetBeansSuite.php" "--" "--run=C:\wamp\www\Calculator-PHPUnit1\test\src\CalculatorTest.php" PHPUnit 4.5.1 by Sebastian Bergmann and contributors. Configuration read from C:\wamp\www\Calculator-PHPUnit1\test\phpunit.xml Trying to @cover or @use not existing method "Calculator::plus".
Mógłby ktoś rzucić okiem na ten treningowy projekt?
https://github.com/sruj/treningPHPUnitCalcu.../Calculator.php
https://github.com/sruj/treningPHPUnitCalcu...master/test/src
https://github.com/sruj/treningPHPUnitCalcu...est/phpunit.xml