Testing Thor Ruby Required Options

Testing Thor Ruby Required Options

Thor Ruby gem is a great tool to quickly build a CLI (Command-line interface) app. Although there are lots of tutorials for building a CLI with Thor from scratch, there aren’t a lot of them on how to test Thor, especially covering scenarios such as required options. Thor makes it easy to specify options and arguments for Thor commands. However, I didn’t find it easy to test them in the documentation....

3 min Â· Stefanni Brasil