I'm using Eclipse 3.4.2 and installed the latest plug-in for simpletest using Help>Software Updates...
The plugin installed correctly and I was able to set it up in Window>Preferences>SimpleTest. I have filled in the following fields : Php.exe file, php.ini file, and test file Suffix. I was not able to find the simpletest Path (not even inside the Eclipse Plugin folder).
I figure this configuration was correct and ran the first test found on the simpletest eclipse site : http://simpletest.sourceforge.net/en/extension%5Feclipse.html
<?php
class test1 extends UnitTestCase {
function test_pass(){
$x = 1;
$y = 2;
$total = $x + $y;
$this->assertEqual(3,$total, "This should pass");
}
}
?>
I have been following all the instructions but when I do right click and select RUN AS>SimpleTest, nothing happens.
I need some help with this.
Thank you!