我使用Eclipse 3.4.2和使用帮助>软件更新安装SimpleTest的最新插件...使用Eclipse插件SimpleTest的 - SimpleTest的工作不
该插件安装正确,我能够设置它在窗口>首选项> SimpleTest中。 我已填写以下字段:Php.exe文件,php.ini文件和测试文件后缀。我无法找到最简单的路径(甚至没有在Eclipse插件文件夹内)。
我想,这个配置是正确的,跑在SimpleTest的日食网站上发现的第一个测试: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");
}
}
?>
我一直在关注所有的指令,但是当我点击右键并选择Run As> SimpleTest的,什么都没发生。
我需要一些帮助。
谢谢!