Does MSpec produce a TRX result file after running tests?

419 Views Asked by At

Does MSpec produce a TRX result file after running tests? If not, can it? The tests are being run with ReSharper.

1

There are 1 best solutions below

6
On BEST ANSWER

The feature of ReSharper that you're talking about is just a test runner. It can run tests from MSTest, NUnit, and other frameworks by using custom plugins. MSpec is a completely separate test engine/framework.

MSpec can output a number of reports: TeamCity, HTML, and XML. I can't run MSpec to verify the XML output right now, but I did review the XML report generator code. It appears to write the "concern | context | specification" report that you can see in the HTML example. And not an MSTest TestResults file (.trx).

I don't see any way to output a TRX right now. You can submit an issue or write some kind of generator, but I don't know if it's worthwhile.