【发布时间】:2013-06-27 10:06:19
【问题描述】:
我正在尝试使用phantom-jasmine。我已经在我的系统(Mountain Lion 和 Ubuntu)上安装了 phantomjs(1.9.1),并使用 npm 安装了 phantom-jasmine。
问题是当我尝试从他们的示例中运行 phantom-jasmine 示例/TestRunner.html 时,我得到 0 个规范,0 个失败,尽管它应该是 3 个规范,1 个输出失败。
如果我从浏览器打开 TestRunner.html,它会按预期运行,但 phantom-jasmine 似乎无法找到规范。
另一件事是当我提供绝对路径(phantom-jasmine /home/me/phantom-jasmine/examples/TestRunner.html 到 TestRunner.html this 时发生
【问题讨论】:
-
您找到解决方案了吗?