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

您现在的位置是:虫虫源码 > C# > tinybdd

tinybdd

  • 资源大小:28.09 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

What A tiny BDD (Behaviour Driven Development) DSL for C#, which also is Test Runner agnostic and lets you do BDD syntax while writing tests. Example ``` [Test] public void Update_status() { Scenario("Update user status on Twitter"); Given("the user is logged on", () => twitter = new Twitter(username, password)); When("status is updated", () => twitter.Status.Update("hello world...")); Then("status should be updated", () => twitter.Status.Show(username).Status.Text.ShouldEqual("hello world...")); } ``` See TinyBDD in action here and here (larger test of a Model-View-ViewModel impl). Download TinyBDD. Documentation How to use TinyBDD with 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

文 件 列 表

TinyBDD.Specification.MSTest.dll
TinyBDD.Specification.NUnit.2.4.7.dll
TinyBDD.Specification.NUnit.2.5.0.dll
TinyBDD.Specification.NUnit.2.5.3.dll
TinyBDD.Specification.NUnit.dll
TinyBDD.dll
TinyBDD.Specification.dll

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.157429s