1
我的测试中都写在摩卡和他们的工作很好,当我调用使用实际的流星,像这样的测试:流星测试 - 客户端的测试没有根据调度运行:摩卡phantomjs
meteor test --full-app --driver-package practicalmeteor:mocha --port 4000 --settings test_settings.json
但是当我尝试使用调度:摩卡phantomjs,仅在服务器端运行测试:
meteor test --once --full-app --driver-package dispatch:mocha-phantomjs --settings test_settings.json
我是不是失去了一些东西约流星客户端和服务器的分离?
我试图用特拉维斯CI的,所以我需要在命令行输出切换我的测试,而不是浏览器
从我的流星/版本
dispatch:[email protected]
dispatch:[email protected]
practicalmeteor:[email protected]_1
practicalmeteor:[email protected]_2
practicalmeteor:[email protected]_3
practicalmeteor:[email protected]
practicalmeteor:[email protected]_2
我使用的是2.4。 5 rc3的实际流星,因为在调度和实际流星存在于同一个包文件中时出现一个错误
谢谢!
你把你的测试文件放在哪里 – securecurve