Testing with Jenkins

Jenkins provides many out-of-the-box functionalities and plugins for testing. The site https://wiki.jenkins.io/display/JENKINS/xUnit+Plugin provides the plugins:

Testing with Jenkins

A list of available testing plugins is shown as follows:

  • JUnit itself
  • AUnit
  • MSTest (imported from MSTest Plugin)
  • NUnit (imported from NUnit Plugin)
  • UnitTest++
  • Boost Test Library
  • PHPUnit
  • Free Pascal Unit
  • CppUnit
  • MbUnit
  • Google test
  • EmbUnit
  • gtester/glib
  • QTestLib

Setting up Unit Testing

Let's perform the following steps to set up unit testing:

  1. Pick up the project we have set up:
    Setting up Unit Testing
  2. Choose build ...

Get DevOps: Continuous Delivery, Integration, and Deployment with DevOps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.