Book Image

Hands-on DevOps

By : Sricharan Vadapalli
Book Image

Hands-on DevOps

By: Sricharan Vadapalli

Overview of this book

<p>DevOps strategies have really become an important factor for big data environments.</p> <p>This book initially provides an introduction to big data, DevOps, and Cloud computing along with the need for DevOps strategies in big data environments. We move on to explore the adoption of DevOps frameworks and business scenarios. We then build a big data cluster, deploy it on the cloud, and explore DevOps activities such as CI/CD and containerization. Next, we cover big data concepts such as ETL for data sources, Hadoop clusters, and their applications. Towards the end of the book, we explore ERP applications useful for migrating to DevOps frameworks and examine a few case studies for migrating big data and prediction models.</p> <p>By the end of this book, you will have mastered implementing DevOps tools and strategies for your big data clusters.</p>
Table of Contents (22 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface
11
DevOps Adoption by ERP Systems
12
DevOps Periodic Table
13
Business Intelligence Trends
14
Testing Types and Levels
15
Java Platform SE 8

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:

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

  1. Pick up the project we have set up:
  1. Choose build option:
  1. Choose an Advanced option:
  1. Enter the location of build.xml:
  1. Select the option of post-build option and choose - Publish JUnit test result report:
  1. In the test reports.xml, enter the reports created a folder in our project so that Jenkins picks the resulting XML files produced by running of the JUnit test cases:

We can select the build and drill-down to the test results.

Automated test suite

Continuous integration is the process of verifying a build to objectively access its readiness for the next...