karma Executed 0 of 0 ERROR

shunzizhan
  • 101

最近学习自动化测试,在运行karma start时,一直提示Executed 0 of 0 ERROR

C:\work\github\karma>karma start
30 10 2017 10:26:34.411:WARN [karma]: No captured browser, open http://localhost
:9876/
30 10 2017 10:26:34.419:INFO [karma]: Karma v1.7.1 server started at http://0.0.
0.0:9876/
30 10 2017 10:26:34.421:INFO [launcher]: Launching browser Chrome with unlimited
 concurrency
30 10 2017 10:26:34.426:INFO [launcher]: Starting browser Chrome
30 10 2017 10:26:37.685:INFO [Chrome 61.0.3163 (Windows 7 0.0.0)]: Connected on
socket GYDJNI42jr7IOheSAAAA with id 64493269
Chrome 61.0.3163 (Windows 7 0.0.0): Executed 0 of 0 ERROR (0.003 secs / 0 secs)

我自己的源码
https://github.com/shunzizhan...

刚开始接触karma,排查了2天了,没有找到什么原因,请不吝指导

回复
阅读 2.5k
1 个回答
✓ 已被采纳

你的karma.conf.js里的files没有吧test目录下的js引入啊。所以没有跑case。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
你知道吗?

宣传栏