Skip to main content

How to use <VSTest> element in default.srprofile

Answered

Comments

3 comments

  • Andreas Willich

    Perhaps something is wrong with the xml. In the output window should be an exception message where the error is.

    0
  • Sudhindra Kumar
     
     

    Thanks Andreas Willich for your instant help. i figured it out & the issue was as below

    An exception occurred while test discoverer 'SpecRunTestDiscoverer' was loading tests. Exception: Specifying an absolute and a relative pass rate is invalid. Please specify only one pass rate.

    Resolved it by changing the <VSTest> element to <VSTest testRetryResults="Unified" passRateRelative="50%"/>

    Perhaps we can add this in https://docs.specflow.org/projects/specflow-runner/en/latest/Profile/VSTest.html 

    0
  • Andreas Willich

    Docs are now updated.

    0

Please sign in to leave a comment.

Powered by Zendesk