Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.2 KB

File metadata and controls

22 lines (14 loc) · 1.2 KB

Writing tests using Fabric8 Kubernetes Client

This is a demo project that has a simple PodGroupService which manages lifecycle of a group of Pods sharing common labels. It has common operations like add, list, watch, delete, etc.

We write tests for this service using various options provided to us by Fabric8 Kubernetes Client:

Kubernetes Mock Server Tests

Based on Fabric8 Kubernetes Mock Server

Real Kubernetes Tests

Based on Fabric8 Kubernetes JUnit Jupiter

These tests require a Kubernetes instance to be running. They will execute in k8s-e2e profile:

$ mvn clean install -Pk8s-e2e