Specflow执行报告的文件夹TestResults错误
Folder TestResults of Specflow Execution Report is Wrong
当我 运行 使用 SpecFlow 进行测试时,我的 TestResults 文件夹变为:
C:\PROJETOS\CapitalElevado\TestResults\C\PROJETOS\CapitalElevado\TestResults
换句话说,我的 "C" 目录被视为文件夹,然后重复完整地址。
我不知道怎么解决。
我的 Sample.runsettings 包含:
<RunConfiguration>
<!-- Path relative to solution directory -->
<ResultsDirectory>.\TestResults</ResultsDirectory>
<TargetPlatform>x86</TargetPlatform>
<TargetFrameworkVersion>Framework40</TargetFrameworkVersion>
</RunConfiguration>
我正在使用 SpecFlow / SpecRun 1.7.2 版本
这是 SpecFlow+Runner(又名 SpecRun)1.7.* 中的错误。
它的问题在这里:https://github.com/techtalk/SpecFlow/issues/1191
将在下一个版本中修复。
有一个解决方法。
在 srProfile (http://specflow.org/plus/documentation/Report) 的报告部分定义报告。这将在正确的位置生成报告。
完全披露:我是 SpecFlow 和 SpecFlow+ 的开发者之一。
当我 运行 使用 SpecFlow 进行测试时,我的 TestResults 文件夹变为: C:\PROJETOS\CapitalElevado\TestResults\C\PROJETOS\CapitalElevado\TestResults
换句话说,我的 "C" 目录被视为文件夹,然后重复完整地址。
我不知道怎么解决。
我的 Sample.runsettings 包含:
<RunConfiguration>
<!-- Path relative to solution directory -->
<ResultsDirectory>.\TestResults</ResultsDirectory>
<TargetPlatform>x86</TargetPlatform>
<TargetFrameworkVersion>Framework40</TargetFrameworkVersion>
</RunConfiguration>
我正在使用 SpecFlow / SpecRun 1.7.2 版本
这是 SpecFlow+Runner(又名 SpecRun)1.7.* 中的错误。 它的问题在这里:https://github.com/techtalk/SpecFlow/issues/1191
将在下一个版本中修复。
有一个解决方法。 在 srProfile (http://specflow.org/plus/documentation/Report) 的报告部分定义报告。这将在正确的位置生成报告。
完全披露:我是 SpecFlow 和 SpecFlow+ 的开发者之一。