Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing DevOps with Microsoft Azure

You're reading from   Implementing DevOps with Microsoft Azure Automate your deployments and incorporate the DevOps culture

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781787127029
Length 422 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Microsoft Azure – Cloud Platform and Services FREE CHAPTER 2. Getting Started with Visual Studio Team Services (VSTS) 3. Continuous Integration with VSTS 4. Continuous Development with Microsoft Azure Web Apps 5. Azure App Service Environments 6. Continuous Delivery to Azure Web Apps and ASE Using VSTS 7. Continuous Monitoring in Cloud Platform 8. More from the Author

Unit test execution for automated testing


In the PetClinic example, unit tests are written in JUnit. Unit test cases individually and independently verify specific methods of an application. In build definition Maven tasks, the test configuration was kept as default. 

After executing the build successfully, we can go to Explorer tab and click on the Tests links in the build execution logs to get more details on the test execution.

Verify the total number of tests, the passed and failed percentage, and the duration of test execution:

To get more details, click on the Test link on the top bar. Click on the Test runs

Verify the Completed status of the test run in the Recent test runs. Double click on the entry:

We will get the summary, run type, build version number, and outcome in the form of a chart showing passed and failed test results. In the following chart, it shows that all 41 unit tests have been executed successfully:

Click on the Test results tab to get results based on unit tests available...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime