Disable the TestResults folder

穿精又带淫゛_ 提交于 2019-12-11 07:26:17

问题


How can I configure SpecFlow to stop writing logs to the TestResults folder?

I have spent the last few hours reading the documentation and I have also looked here: http://specflow.org/documentation/Configuration/

However, I am unable to find an answer. I assume there must be an app.config setting?

Here is my app.config:

<specFlow>
    <!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config -->
  <!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config --><!-- use unit test provider SpecRun+NUnit or SpecRun+MsTest for being able to execute the tests with SpecRun and another provider --><unitTestProvider name="SpecRun"/><plugins>
      <add name="SpecRun"/>
    </plugins></specFlow>

回答1:


The logfile is generated by the SpecFlow+Runner and currently you can not disable the generation of it. But I think this is a good idea and I will put it on our backlog.


Full disclosure: I am one of the developers of SpecFlow and SpecFlow+



来源:https://stackoverflow.com/questions/49028968/disable-the-testresults-folder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!