Test results integration with Sonarqube
Hi Guys,
I am integrating Appveyor with the MSBuild Sonarqube runner which is working fairly well at the moment, though I am struggling to get the test results uploaded.
The test plugins are expecting results in XML format, however, the automated test runs that Appveyor is doing aren't creating these XML files (I believe), so Sonar isn't seeing them.
Is there any way I can get the system to write the XML files to a specific directory which I can get the Sonar runner to pick up, or has anyone else come up with another option? I ideally want the tests in Appveyor as well as showing in Sonar.
Thanks.
Andrew.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 15 Jul, 2016 06:50 PM
Hi Andrew,
It depends on test runner you use. What testing framework/runner is that?
AppVeyor is not producing XML reports by itself, but it has plugins for test runners sending test results in a real time using REST API.
2 Posted by andrew on 15 Jul, 2016 07:10 PM
Hi,
The test runner that Appveyor is executing is nunit3-console.
Andrew.
Support Staff 3 Posted by Feodor Fitsner on 15 Jul, 2016 11:49 PM
nunit3-console runner should produce TestResult.xml in the current directory anyway.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:07 AM.