I try to run several unit test cases, and I see that they run twice in each run, but I'm not sure about this reason.
Below is the structure of my test -
class Sample_Module_Test_Model_HelloserviceTest extends EcomDev_PHPUnit_Test_Case{ public function testHelloworld(){ Mage::log("Hello world!"); } }
And, I am doing a test
phpunit --group Sample_Module
This is what i see
PHPUnit 3.7.22 by Sebastian Bergmann. Configuration read from /mnt/www/dev.giftcardmall.com/phpunit.xml.dist ...... Time: 2 seconds, Memory: 26.75Mb OK (2 tests, 0 assertions)
Also in the log, I see that Hello world is printed twice every time it runs.
I'm not sure where I am wrong ... any help would be greatly appreciated.
source share