From the course: DevOps Foundations: Microservices
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
End-to-end and contract testing - Kubernetes Tutorial
From the course: DevOps Foundations: Microservices
End-to-end and contract testing
- [Instructor] Another well-known type of testing is End-to-End testing. This type of test tests an entire system. End-to-end tests are difficult to do well with microservices for a number of reasons, such as the need to deploy multiple services together before testing. When testing one service, which version of other services should be used? One way to solve this problem is to have the continuous integration pipelines of each service fan into a single end-to-end test stage. That said, there are a number of other disadvantages. Tests of this nature tend to be brittle and flaky, and the question of ownership, who should write or maintain end-to-end tests, can be difficult to answer. Another important question raised by end-to-end tests is how long is too long to run? As test suites take longer, developer productivity decreases. Due to these difficulties, I would offer up the following guidelines for end-to-end tests. One, write as few end-to-end tests as possible. Two, focus on user…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Standardization4m 57s
-
(Locked)
Unit and integration testing6m 26s
-
(Locked)
End-to-end and contract testing3m 11s
-
(Locked)
Contract test example2m 20s
-
(Locked)
Performance testing1m 19s
-
(Locked)
Continuous integration4m 44s
-
(Locked)
Continuous delivery3m 44s
-
(Locked)
Platform-specific and OS artifacts2m 29s
-
(Locked)
Virtual machine and container artifacts4m 32s
-
(Locked)
Versioning3m 15s
-
(Locked)
Basic service discovery3m 4s
-
(Locked)
Dynamic service registries5m 33s
-
(Locked)
Documentation4m 49s
-
(Locked)
Ownership and Conway's law2m 28s
-
-
-
-