mirror of
https://github.com/semaphoreci/book-cicd-docker-kubernetes.git
synced 2026-02-14 15:59:50 +00:00
Test pyramid sketch
This commit is contained in:
@@ -158,7 +158,7 @@ While it's great to keep your entire pipeline fast, on many occasions you can ge
|
||||
|
||||
Unit tests run the fastest, because they are isolated and usually don't touch the database. They define the business logic, and are the most numerous, as is commonly depicted in the "test pyramid" diagram:
|
||||
|
||||
TODO: diagram test pyramid
|
||||
{ width=70% }
|
||||
|
||||
A failure in unit tests then is a signal of a fundamental problem, which makes running the remaining high-level and long-running tests irrelevant. For these reasons, projects with test suites that run for anything longer than a minute should prioritize unit tests in the CI pipeline.
|
||||
|
||||
|
||||
BIN
figures/04-test-pyramid.png
Normal file
BIN
figures/04-test-pyramid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 190 KiB |
Reference in New Issue
Block a user