Does c# have a rspec like testing framework that makes grouping like tests together?

坚强是说给别人听的谎言 提交于 2019-12-11 04:07:24

问题


I want a testing framework that makes it easier to group like tests together.

I like how rpsec makes it easier to group similiar tests together, can you do this with any .net based framework?

I'm using nunit at the moment.


回答1:


Aren't you looking for NUnit Category attribute? http://www.nunit.org/index.php?p=category&r=2.2



来源:https://stackoverflow.com/questions/15839507/does-c-sharp-have-a-rspec-like-testing-framework-that-makes-grouping-like-tests

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