如何设置NCrunch以运行nspec测试 [英] How do I set up NCrunch to run nspec tests

查看:112
本文介绍了如何设置NCrunch以运行nspec测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力设置NCrunch以自动运行我的nspec测试.在ncrunch论坛上,它说尚未实现此功能,但随后MattFlo说他更喜欢使用NCrunch,因此,我很确定它可以正常工作.帮助将不胜感激!

I'm struggling to set up NCrunch to run my nspec tests automatically. On the ncrunch forums it says this functionality has not been implemented yet, but then MattFlo says he prefers using NCrunch, so I'm pretty sure it can be made to work. Help would be greatly appreciated!

推荐答案

我们正在努力完全支持NCrunch.

We are working on getting NCrunch fully supported.

现在,您可以将DebuggerShim(这是NSpec附带的一个cs文件)用作填充程序,以通过NCrunch运行它. DebuggerShim几乎是一个运行NSpec测试的NUnit测试.

For now you can use the DebuggerShim (it's a cs file included with NSpec) as a shim to run it via NCrunch. The DebuggerShim is pretty much an NUnit test that runs NSpec tests.

您可能想看看 specwatchr . Matt喜欢使用NCruch,但我发现它很想运行我的测试.我必须有意识地停止键入,以使NCrunch有机会运行我的测试...我宁愿按一下Save按钮并让一个后台进程为我运行我的测试(即specwatchr).希望有帮助.

You may want to take a look at specwatchr. Matt likes to use NCruch, but I find that it's to eager to run my tests. I have to consciously STOP typing to give NCrunch a chance to run my tests...I'd rather just hit the save button and have a background process run my tests for me (ie specwatchr). Hope that helps.

Amir(NSpec上的Hacker)

Amir (Hacker on NSpec)

NSpec的NUnit扩展: https://github.com/ddaysoftware/NSpec4NUnit

NUnit extension for NSpec: https://github.com/ddaysoftware/NSpec4NUnit

这篇关于如何设置NCrunch以运行nspec测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆