App.config for SpecFlow not recognized
Posted
by INTPnerd
on Stack Overflow
See other posts from Stack Overflow
or by INTPnerd
Published on 2010-06-03T02:47:34Z
Indexed on
2010/06/03
2:54 UTC
Read the original article
Hit count: 573
How do I get my App.config file to be recognized/used? I have tried placing it in the top folder of my project and in the same folder as my feature files. Here are the contents of my App.config file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/>
</configSections>
<specFlow>
<runtime detectAmbiguousMatches="true"
stopAtFirstError="false"
missingOrPendingStepsOutcome="Error" />
</specFlow>
</configuration>
Specifically I am trying to tell NUnit to have a fail result when there is a missing or pending step which is why I am specifying "Error" for this.
© Stack Overflow or respective owner