End-to-End Testing in Meshery CLI


Trainer: Riya Garg
Technologies: BATS, Shell, Meshery CLI

This workshop was a deep dive into writing end-to-end tests for the Meshery CLI using BATS (Bash Automated Testing System). It covered everything from pre-requisites and project setup to writing quality tests and understanding test coverage.

You will learn to:

  • Set up your environment for contributing CLI tests
  • Understand the Meshery CLI and its testable behaviors
  • Write and run BATS test scripts
  • Ensure high quality and coverage in test cases
  • Find and contribute to relevant issues like meshery#14031

Workshop Slides


Contributing CLI Tests Guide


Workshop Recording



Layer5, the cloud native management company