Rising

自我学习记录,方便使用时查找。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

BDD初步知识内容列表:

使用 SpecFlow 和 WatiN 进行行为驱动开发

http://msdn.microsoft.com/zh-cn/magazine/gg490346.aspx

 

SpecFlow官网

http://specflow.org/specflow/getting-started.aspx

 注意如果使用的是MsUnit完成单元测试,则配置文件中需要指定单元测试驱动程序为MsUnit,如下所示:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="specFlow"
             type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/>
  </configSections>
  <specFlow>
    <!--如果是使用MS的单元测试技术,则使用以下配置项,否则使用NUnit单元测试技术则可以不配置此项-->
    <unitTestProvider name="MsTest" />

 

    <!-- 以下是可能需要用的配置内容-->
    <!--<language feature="en-US" tool="" />

    <unitTestProvider name="NUnit" />

    <generator allowDebugGeneratedFiles="false" />

    <runtime detectAmbiguousMatches="true"
             stopAtFirstError="false"
             missingOrPendingStepsOutcome="Inconclusive" />

    <trace traceSuccessfulSteps="true"
           traceTimings="false"
           minTracedDuration="0:0:0.1"
           listener="TechTalk.SpecFlow.Tracing.DefaultListener,  
                   TechTalk.SpecFlow" />-->
  </specFlow>
</configuration>

 

Watin官网

http://watin.org/
 

posted on 2012-02-19 10:26  Rising  阅读(1023)  评论(0编辑  收藏  举报