Tests local and system-under-test in Kubernetes

The most common pattern, especially while developing tests, is to run tests from your development machine against your code running within Kubernetes. After you create the tests, the same pattern can be employed to run your tests against a Kubernetes cluster housing your code from a continuous integration service. When you are starting out with development, you may be able to run all of this on your local development machine, with Minikube. In general, this pattern is an excellent way to get started, and solves the problem of getting feedback from the tests by running the tests where you want to get the feedback—either on your own development system, or from a CI system acting on your behalf. ...

Get Kubernetes for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.