diff --git a/documentation/developer-guide.md b/documentation/developer-guide.md index f6056850..d111f129 100644 --- a/documentation/developer-guide.md +++ b/documentation/developer-guide.md @@ -61,6 +61,8 @@ Run unit tests: make test ``` +### Running E2E tests on Linux + Run e2e tests with minikube: ```bash @@ -75,6 +77,30 @@ Run the specific e2e test: make build e2e E2E_TEST_SELECTOR='^TestConfiguration$' ``` +### Running E2E tests on macOS + +At first, you need to start minikube: +```bash +$ make minikube-start +$ eval $(minikube docker-env) +``` + +Build Docker image inside provided Linux container by: +```bash +$ make indocker +``` + +Build **jenkins-operator** inside container using: + +```bash +$ make build +``` + +Then exit the container and run: +``` +make e2e +``` + ## Tips & Tricks ### Building docker image on minikube (for e2e tests)