Use BATS to Automate Kubernetes Testing

Have you wanted to test things that you know how to run in your bash
scripts or terminal, but aren't quite sure how to make it happen? The Bash Automated Testing System (BATS) makes that dream a reality!
BATS lets you create automated, repeatable tests using familiar bash commands. Your tests work equally well in your terminal and CI/CD pipelines, giving you confidence to promote Kubernetes resources to production.
This post covers practical examples of testing Kubernetes clusters, from basic API connectivity to complex application health checks and resource validation.