我很好奇我们如何使用ember-cli自动测试和手动测试我们的应用程序?我已尝试过以下方法,但我收到test is invalid
不确定是否有其他人遇到此问题?
➜ sample-project git:(master) ✗ npm test
> sample-project@0.0.0 test /Users/alvincrespo/workspace/sample-project
> ember test
The specified command test is invalid, for available options see `ember help`
➜ sample-project git:(master) ✗ ember test
The specified command test is invalid, for available options see `ember help`
➜ sample-project git:(master) ✗ ember --version
ember-cli 0.0.20
➜ sample-project git:(master) ✗ npm --version
1.4.3
➜ sample-project git:(master) ✗ node --version
v0.10.26
答案 0 :(得分:1)
运行ember server
后,请在浏览器中转到http://localhost:4200/tests
。您将看到" EmberCli测试"。