gocd-contrib / xunit-converter-task

GoCD plugin to convert test reports to XUnit format
Apache License 2.0
1 stars 8 forks source link

MSTest no file out #12

Open Zelif opened 6 years ago

Zelif commented 6 years ago

I've installed the plugin and given it the .TRX file, it says the file passes conversion but no trx.xml file is generated.

Total tests: 137. Passed: 137. Failed: 0. Skipped: 0. Test Run Successful. Test execution time: 10.6953 Seconds Results File: C:\Program Files (x86)\Go Agent\pipelines\xUnit.Test\TestResults\TestResult.trx [go] Task status: passed, took: 11.253s [go] Task: Plugin with ID: xunit.converter.task.plugin Starting conversion... Conversion finished [go] Task status: passed, took: 0.71stook: 0.71s [go] Current job status: passed

chrome_2018-03-01_15-33-38

explorer_2018-03-01_15-52-22

Not sure what to check as the logs don't have anything in them about the conversion. As far as I can tell its finding the .TRX file but conversion fails?

Something that might be causing it: Could generating the trx file from vstest rather than mstest be an issue ? I had thought they generate the same trx file.

giggio commented 6 years ago

Same problem here. Five months and no answer around here, and more than an year without any commits, this project is probably abandoned.

arvindsv commented 6 years ago

Looks like it. If anyone wants to take it over and maintain it, I should be able to provide access.

techie55 commented 6 years ago

Hi, Thought this was a great plug-in. However I discovered that it does not work with MSTest as mentioned above. It does not convert the TRX file. @arvindsv would you be able to provide access to the source so that I can take a look. Thanks

arvindsv commented 6 years ago

@techie55 I believe everyone has access to this code. I'm not well-versed in it, but it looks like the execution comes here and then it uses a library called xunit-converter, which can be found here. You might be interested in this specific piece of code there.