我試圖從Visual Studio爲我的specflow功能生成一個漂亮的HTML輸出。我安裝了resharper,我可以運行我的功能測試,但我想獲得最終結果的html輸出。SpecFlow - 來自Visual Studio的HTML輸出
我嘗試了幾個網站,說我們可以創建一個外部工具。這裏是我的設置:
Title: SpecFlow Test Result
Command:C:\TFS\Test_Automation\a.1_Main\Test\AutoUpdateTests\AutoUpdateTests\packages\SpecFlow.1.9.0\tools\specflow.exe
Arguments: nunitexecutionreport AutoUpdateTests.csproj /xmlTestResult:bin\debug\TestResult.xml
Initial directory: $(ProjectDir)
所以後來我執行我的測試,然後選擇工具 - > SpecFlow測試結果
我看到出現一個cmd窗口暫時打開,但沒有TestResult.xml文件。
任何想法?我也在項目中引用了nunit.framework,但不確定是否重要。
感謝