Capturing test results from commandline
I execute the specflow tests on azure devops as cmd/powershell task, and use the generated html file for reporting purpose. I would like to know if there any way to capture the test execution summary(e.g. 10 tests executed, 4 passed 3 failed, 2 skipped) in some variable such that i could block the pipeline based on the results.
Also I would like to know if there is possiblity to generate both html and json results file for a single test execution.
Note: we use the following command - livingdoc test-assembly <assemblyname>
Please sign in to leave a comment.