Skip to content

Commit

Permalink
Merge pull request #1208 from Gsantomaggio/master
Browse files Browse the repository at this point in the history
Fix the wrong link
  • Loading branch information
k8s-ci-robot committed Dec 13, 2019
2 parents 0d6adf9 + 95874c7 commit 19458ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/testing/e2e.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
**Running End-to-end Tests on Remote Clusters**

**This document is for kubebuilder v1 only**

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.

The steps are as follow:
Expand Down
2 changes: 2 additions & 0 deletions docs/testing/integration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
**Writing and Running Integration Tests**

**This document is for kubebuilder v1 only**

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`

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`:
Expand Down

0 comments on commit 19458ba

Please sign in to comment.