streamdal / plumber

A swiss army knife CLI tool for interacting with Kafka, RabbitMQ and other messaging systems.
https://streamdal.com
MIT License
2.09k stars 71 forks source link

Add tests for the validate package in cli.go #296

Closed brainsnail closed 2 years ago

brainsnail commented 2 years ago

What was changed?

Added tests for the validate package under cli_test.go - renamed the validate test suite so it was clearer which plumber mode it supports (i.e, server vs cli mode).

Why was it changed?

To improve test coverage and allow easier refactoring down the road 🚧