How do I set up NCrunch to run nspec tests

醉酒当歌 提交于 2019-12-05 09:11:19

We are working on getting NCrunch fully supported.

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.

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 (Hacker on NSpec)

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!