首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 行为驱动开发(BDD)的框架,.NET

行为驱动开发(BDD)的框架,.NET

  • 资源大小:180.09 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: net 开发 bdd 框架 驱动 行为

资 源 简 介

Write and validate .NET specifications in BDD style. This framework can be used along with any other unit testing, mocking frameworks. Main purpose of this framework is to allow writing unit tests in BDD style (similar to RSpec) Simple usage example: ``` using System; using NUnit.Framework; namespace Demo.Spec { public class CreditCardTest : ArtSpec.Spec { /* note: override this method to define specification */ protected override void Specify() { Console.WriteLine(@"CreditCardTest demonstrates using NUnit framework"); It("should have a valid month", () => { /* note: defines expectation of an exception */ Error(delegate { new CreditCard {Month = 0}; }); Error(delegate { new CreditCard {Month = 13}; }); Error(delegate { new

文 件 列 表

ArtSpec.dll
Spec.exe
Demo
AuthorizationException.cs
Authorizer.cs
CreditCard.cs
Demo.csproj
Demo.sln
IGateway.cs
lib
Properties
Result.cs
Spec

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP