I am using Eclipse 3.4.2 and installed the latest plugin for easy testing with help> Software Updates ...
The plugin is installed correctly, and I was able to install it in Window> Preferences> SimpleTest. I filled in the following fields: php.exe file, php.ini file and Suffix test file. I could not find simpletest Path (even inside the Eclipse Plugin folder).
I believe this configuration was correct and performed the first test found on the simpletest eclipse website: http://simpletest.sourceforge.net/en/extension_eclipse.html
<?php class test1 extends UnitTestCase { function test_pass(){ $x = 1; $y = 2; $total = $x + $y; $this->assertEqual(3,$total, "This should pass"); } } ?>
I follow all the instructions, but when I right-click and select RUN AS> SimpleTest, nothing happens.
I need help with this.
Thanks!
Onema source share