PHPUnit\'s getMock($classname, $mockmethods) creates a new object based on the given class name and lets me change/test the behavior of the methods I specified.
I have this in my phpunit.xml file: <phpunit ...> <testsuites> <testsuite name=\"MyTests\">
I have this class: namespace MyFirm\\PlatformBundle\\Entity\\Destination\\Content; class Event extends Content//this is line 18
I have a directory structure & build.xml like this /path-to-project/src/prj1 /path-to-project/src/prj2
What\'s wrong with the following test: <?php class TestSomething extends PHPUnit_Framework_TestCase {
I\'m using PHPUnit to test my MVC application. Most of the code for my models (Site, MStudent, MMenu in this example) are well covered with unit tests, but I find it difficult to test the functions on
I\'m using PHPUnit 3.5.14 and have a suite of tests which covers 100% of my PHP application excluding certain portions with // @codeCoverageIgnore[Start|End].The HTML coverage report shows 100% covera
I recently started with the unit testing for my php website made in CodeIgniter 1.7.2. I want to test my web site using PHPUnit.
I am doing some functional tests for a backend plugin of magento. At the moment the browser profile is cleaned up between each test method (of my PHPUnit test) - so login is gone away between each tes
the biggest issue i\'m having is that when i click on a link, i can see the confirmation dialog popup. from this site it says: