Summary
In this chapter, we delved into how to use Kubernetes when testing your code. We looked at the patterns you might explore with integration testing. We pointed at a simple example of using shell scripts to run integration tests within Kubernetes, and then dove more deeply into examples using Python and Node.js that run integration tests using Kubernetes. Finally, we wrapped up the chapter with an overview of options that are readily available for continuous integration that can use a cluster, and explored two options: using Travis.CI as a hosted solution and how to use Jenkins on your own Kubernetes cluster.
In the next chapter, we will look at how we can pull together multiple pieces that we have explored and show how to benchmark your code running on Kubernetes.