有人有 Jasmine 的 mstest 跑步者吗?

发布于 2024-11-17 22:18:52 字数 276 浏览 3 评论 0原文

鉴于 MStest 中现有的测试库相当广泛,我想为 testign javascript 添加 jasime 并将这些新测试包含在 MSTesting 框架中,以便对当前 TDD 模式的干扰最小化...

如果有人知道现有的 mstest 运行程序对于茉莉花,我会很感激。现在自己建造一个会节省时间。也反对其他 MSTest 集成想法,以防万一我追求错误的解决方案...

我们当前的持续集成/源代码控制解决方案是 TFS 2010。

开发是使用 VS 2010 和 resharper 插件。

Given the rather extensive existing library of tests in MStest, I would like to add jasime for testign javascript and inbclude those new test in the MSTesting framework so that there is minimal disruption to current TDD patterns...

If anyone knows of an existing mstest runner for Jasmine, I would appreciate it. Would save time now having ot build one myself. Also opne to other MSTest integration ideas as well, just in case I'm chasing the wrong solution...

Our current continuos integration/source control solution is TFS 2010.

Development is with VS 2010 and the resharper plugin.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

未蓝澄海的烟 2024-11-24 22:18:52

Chutzpah 从命令行在无头 PhantomJS 浏览器中运行 Jasmine 或 QUnit 测试。我目前正在努力将其输出发布到从 PSake 构建脚本调用的 TFS 2010。我希望通过一些 XSLT 或其他魔法,如果没有通过,我可以让 JS 测试使构建失败。

Chutzpah runs Jasmine or QUnit tests in the headless PhantomJS browser from the command line. I'm currently working on publishing it's output to TFS 2010 called from a PSake build script. My hope is that with some XSLT or other magic, I can get the JS tests to fail the build if one doesn't pass.

忆梦 2024-11-24 22:18:52

在我的博客上,我展示了如何将 Jasmine 测试作为 TFS 2010 构建的一部分运行,当 Jasmine 测试失败时,构建也会失败。当从 Visual Studio 中运行单元测试时,这也适用。

On my blog I showed how to run Jasmine tests as part of a TFS 2010 build, in a way that fails the build when the Jasmine tests fail. This also works when running unit tests from within Visual Studio.

一杯敬自由 2024-11-24 22:18:52

The solution mentioned in the Matt Perdeck's article is awesome and works as expected. The reason you are getting IOException is because of chutzpah version. You need to use chutzpah.console.exe /silent to get it working.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文