Issue
i have just started with XUnit and configuring Jenkins and i wanted to ask if there is a way to run XUnit Tests directly started by Jenkins and not with a windows batch command, that starts the console runner of XUnit.
I know there is the possibilty to run the XUnit tests by executing a Windows batch command via the Console Runner but im looking for a Plugin / whatever that for example includes the XUnit Runner and you only have to point to the dll so he starts the Tests and processes the XML output.
Solution
No, there is not a Jenkins plugin for executing xUnit.net tests.
The simplest way will be to run a Windows batch command within a Jenkins job.
You can at least use the xUnit plugin to parse the test results XML file from xUnit.net and update the build outcome based on whether all tests passed or not.
Answered By - Christopher Orr