有人有 Jasmine 的 mstest 跑步者吗?
鉴于 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
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.
在我的博客上,我展示了如何将 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.
Matt Perdeck 的文章 非常棒并且按预期工作。您收到 IOException 的原因是因为版本的厚颜无耻。您需要使用 chutzpah.console.exe /silent 才能使其正常工作。
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.