As mentioned earlier, you should write unit tests before you write the code they will test.
如上文所述,应该首先编写单元测试,然后再编写这些单元测试要测试的代码。
While you can use Cucumber with IronRuby to write executable specifications for. Net code, there are immediate benefits to writing test automation code in the same language as your production code.
你可以使用Cucumber和IronRuby来为。NET代码编写可执行规范,但是使用与功能代码相同的语言来编写测试会得到更多的好处。
应用推荐