c# 是否有类似 rspec 的测试框架,可以将类似的测试分组在一起? [英] Does c# have a rspec like testing framework that makes grouping like tests together?

查看:53
本文介绍了c# 是否有类似 rspec 的测试框架,可以将类似的测试分组在一起?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个测试框架,可以更轻松地将类似的测试组合在一起.

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

我喜欢 rpsec 如何让将类似的测试组合在一起变得更容易,你能用任何基于 .net 的框架来做到这一点吗?

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

我目前正在使用 nunit.

I'm using nunit at the moment.

推荐答案

你不是在寻找 NUnit Category 属性吗?http://www.nunit.org/index.php?p=category&r=2.2

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

这篇关于c# 是否有类似 rspec 的测试框架,可以将类似的测试分组在一起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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