jefflester / minitrino

A tool that makes it easy to run modular Trino environments locally.
Apache License 2.0
32 stars 3 forks source link

Automate config tests #24

Closed jefflester closed 1 year ago

jefflester commented 3 years ago

Tests for the config command should be automated and incorporated into the runner.py test runner file.

The challenge with this is that the command opens a text editor. I am trying to figure out a solid way to capture the correct exit code and also hop out of the text editor automatically. So far, my efforts aren't going anywhere.

For the time being, human QA will be run on the config command prior to any releases. This should be considered a high-priority testing item to ensure all commands are getting equal testing coverage in the testing library.

jefflester commented 1 year ago

This isn't worth the effort to automate at this time, as the config command is extremely simple.