O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing the project

Next, we are going to test our project. We have various tests in place, but we will start with the unit tests. We will need to install a new Jenkins plugin before we can publish our TRX results to Jenkins. So, go to the Jenkins plugin manager and search for mstest. You should see two plugins, the MSTest plugin and the MSTestRunner plugin. The MSTestRunner is for running tests using MSTest. We are using xUnit though and we are running it through OpenCover using the command line anyway. So, we need the MSTest plugin, which can transform TRX files to the JUnit format and publish them to Jenkins.

We have two choices now. We can create a new project, like we did with the Node.js website, or we can just add a new build step ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required