简体   繁体   中英

Running Specflow 3.0 reports on Nunit console

I just upgraded to Specflow 3.0 with NUnit as my test runner. Specflow 3.0 documentation indicates that reporting has been removed from Specflow 3.0 ( https://specflow.org/documentation/Reporting/ ). It seems they have gotten rid of specflow.exe

In Specflow 2.x, I would execute reports by calling

specflow.exe nunitexecutionreport test.csproj /xmlTestResult:.\TestResults\TestResult.xml /out:.\TestResults\TestResult.html

I am at a loss as to how to run the nunit reports without calling specflow.exe. The Specflow website does not seem to have additional information how to run reports on Specflow 3.

Has anyone tried running reports on Specflow 3 and Nunit console?

这是一个糟糕的解决方案,但是您可以同时安装SpecFlow 2.4和3,然后使用3运行测试,并使用2.4生成报告。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM