1

When I run my tests with SpecFlow, my TestResults folder become: C:\PROJETOS\CapitalElevado\TestResults\C\PROJETOS\CapitalElevado\TestResults

In other words, my "C" directory is being seen like a folder and then the full address repeats.

I don´t know how to solve that.

My Sample.runsettings contains:

<RunConfiguration>
    <!-- Path relative to solution directory -->
    <ResultsDirectory>.\TestResults</ResultsDirectory>
    <TargetPlatform>x86</TargetPlatform>
    <TargetFrameworkVersion>Framework40</TargetFrameworkVersion>
 </RunConfiguration>

I´m using SpecFlow / SpecRun 1.7.2 version

4

1 回答 1

1

这是 SpecFlow+Runner(又名 SpecRun)1.7.* 中的一个错误。它的问题在这里:https ://github.com/techtalk/SpecFlow/issues/1191

将在下一个版本中修复。

有一个解决方法。在 srProfile ( http://specflow.org/plus/documentation/Report )的报告部分定义报告。这将在正确的位置生成报告。


全面披露:我是 SpecFlow 和 SpecFlow+ 的开发人员之一。

于 2018-08-10T07:24:55.463 回答