【问题标题】:Multiple showings of AngularJS Unit Tests in VS2015 Test Explorer with Chutzpah and Jasmin使用 Chutzpah 和 Jasmin 在 VS2015 测试资源管理器中多次展示 AngularJS 单元测试
【发布时间】:2016-04-05 08:32:51
【问题描述】:

我为我的 AngularJS 编写了一些单元测试,并使用 Chutzpah 在 VS 中运行测试。这就像一个魅力,但每个测试在 VS 测试资源管理器中显示 3 次。知道为什么吗?我的 chutzpah.json 看起来像这样:

{
  "References": [
     { "Path": “Path of needed file” },
     { "Path": “Path of needed file” },
     { "Path": “Path of needed file” },
     { "Path": “Path of needed file” }
  ]
}

【问题讨论】:

  • 你能显示你的实际 Chutzpah.json 文件内容吗?此外,如果您有一个真正的回购链接到那也可能会有所帮助。
  • 我在周末发现了错误。在没有 Chutzpah 的情况下,我仍然有一个用于运行测试的 html 站点。 Chutzpah 自己找到了测试并再次从 html 中提取它们。
  • Sknecht:请发表您的评论作为对您自己问题的回答并接受它。

标签: angularjs unit-testing jasmine chutzpah


【解决方案1】:

我在周末发现了错误。在没有 Chutzpah 的情况下,我仍然有一个用于运行测试的 html 站点。 Chutzpah 自己找到了测试并再次从 html 中提取它们。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-09-11
    • 1970-01-01
    • 2016-07-18
    • 2020-09-13
    • 1970-01-01
    • 1970-01-01
    • 2016-12-02
    相关资源
    最近更新 更多