質問
テストテキストの一部としてタイミング情報を表示しないようにSpecflowを構成するにはどうすればよいですか
- > done:steps.theniwillbedeniedaccess()(0.0s)
乾杯。ジャス。
解決
私はこれをに入れる必要があることがわかりました app.config
ファイル:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/>
</configSections>
<specFlow>
<language feature="en-GB" />
<unitTestProvider name="nUnit" />
<trace traceSuccessfulSteps="false" traceTimings="false" />
</specFlow>
</configuration>
ここで重要な設定はです traceSuccessfulSteps
, 、それを設定します false
トリックをしました。
所属していません StackOverflow