SpecFlow特性介绍2-Context
摘要:应用SpecFlow做Acceptance Test的时候经常遇到不同的Step之间传递数据,例子:Feature: Components As a logged in user I want to be able to add new components So that I can perform asssessments on them@LogIn @SetCurrentSection Scenario: Add new component Given I am on the components page When I add a new component Then th...
阅读全文
posted @
2013-01-06 10:24
Sandy8103
阅读(1714)
推荐(1)
SpecFlow特性介绍1-Step Definitions
摘要:我在项目中只用到其中部分的特性,接下来写一下我使用SpecFlow这个工具所用到的一些特性。可能很多地方还需要改善,欢迎用过得朋友提建议。 (SpecFlow的wiki上有它的Documentation全面的介绍,有兴趣的朋友也可以看看:https://github.com/techtalk/SpecFlow/wiki/Documentation) Step Definitions:这是Spe...
阅读全文
posted @
2013-01-04 11:50
Sandy8103
阅读(2412)
推荐(1)