Skip to content

Commit 463cbd6

Browse files
committed
clarify testing pyramid
Change-Id: Ibe426e9157c95da5c2efc8a93bd6767fb6d72531
1 parent e617e77 commit 463cbd6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
181 KB
Loading

contributors/devel/sig-testing/testing-strategy.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
## Defining a Robust Testing Strategy
22

3-
This document outlines a testing strategy for Kubernetes features based on the [**testing pyramid**](https://martinfowler.com/articles/practical-test-pyramid.html), with considerations on the existing CI system's characteristics.
3+
This document outlines a testing strategy for Kubernetes features based on past experiences and lessons learned taking into consideration the existing CI system's characteristics.
44

55
### The Testing Pyramid
66

7+
The [**testing pyramid**](https://martinfowler.com/articles/practical-test-pyramid.html) is
8+
a metaphor, nothing else, that helps visualize how to structure software tests. It's not a rigid prescription, but a general guideline for creating a balanced and effective testing strategy.
9+
10+
![testing-pyramid](./sig_testing_kubecon_na_2022_pyramid.png)
11+
712
Prioritize tests based on the testing pyramid, refer to the [Testing Guide](./testing.md):
813

914
- **Unit Tests:** The foundation. Fast (a package *should* be able to run all its unit tests in seconds), isolated (doesn't depend on environment or non-local network), and cover individual components.

0 commit comments

Comments
 (0)