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
DevOps with Windows Server 2016

You're reading from   DevOps with Windows Server 2016 Obtain enterprise agility and continuous delivery by implementing DevOps with Windows Server 2016

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786468550
Length 558 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ritesh Modi Ritesh Modi
Author Profile Icon Ritesh Modi
Ritesh Modi
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introducing DevOps 2. DevOps Tools and Technologies FREE CHAPTER 3. DevOps Automation Primer 4. Nano, Containers, and Docker Primer 5. Building a Sample Application 6. Source Code Control 7. Configuration Management 8. Configuration Management and Operational Validation 9. Continuous Integration 10. Continuous Delivery and Deployment 11. Monitoring and Measuring

Environment unit tests


After provisioning the resources, it is important to test them. Tests should be executed on these resources to verify that they are provisioned successfully, configured according to given values, and are in the expected desired state.

Chapter 5, Building a Sample Application, introduced the OnlinePharmacy.Configuration project within the overall sample solution. This project contains the Tests folder containing both unit and operational validation tests.

Pester was introduced in Chapter 3, DevOps Automation Primer. It is used to execute the test cases defined in this section. The UnitTests folder contains all the Pester tests. The test cases are defined in PowerShell script files, one for each resource that should be tested.

These tests can be executed manually by executing the scripts directly using a PowerShell console. It can also be executed using the VSTS release pipelines. The preferred mechanism to execute these tests is through the VSTS release pipeline. After...

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 R$50/month. Cancel anytime