Skip to content

Commit 19458ba

Browse files
authored
Merge pull request #1208 from Gsantomaggio/master
Fix the wrong link
2 parents 0d6adf9 + 95874c7 commit 19458ba

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/testing/e2e.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
**Running End-to-end Tests on Remote Clusters**
22

3+
**This document is for kubebuilder v1 only**
4+
35
This article outlines steps to run e2e tests on remote clusters for controllers created using `kubebuilder`. For example, after developing a database controller, the developer may want to run some e2e tests on a GKE cluster to verify the controller is working as expected. Currently, `kubebuilder` does not provide a template for running the e2e tests. This article serves to address this deficit.
46

57
The steps are as follow:

docs/testing/integration.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
**Writing and Running Integration Tests**
22

3+
**This document is for kubebuilder v1 only**
4+
35
This article explores steps to write and run integration tests for controllers created using Kubebuilder. Kubebuilder provides a template for writing integration tests. You can simply run all integration (and unit) tests within the project by running: `make test`
46

57
For example, there is a controller watches *Parent* objects. The *Parent* objects create *Child* objects. Note that the *Child* objects must have their `.ownerReferences` field setting to the `Parent` objects. You can find the template under `pkg/controller/parent/parent_controller_test.go`:

0 commit comments

Comments
 (0)