mirror of
https://github.com/rwxrob/bonzai
synced 2024-11-12 07:10:26 +00:00
Add Cobra complexity in testing comment
This commit is contained in:
parent
53af4dbc50
commit
13a0b42b25
@ -160,6 +160,15 @@ want the specific reasons.
|
||||
sustainable, human-friendly command compositor to take us into the
|
||||
future of command line interfaces.
|
||||
|
||||
* **Cobra interfaces are nearly impossible to test.**
|
||||
|
||||
Ever tried creating tests for all the different Cobra option
|
||||
combinations? It's a case study in the science of exponential problem
|
||||
complexity. By using a rooted node tree of commands, which
|
||||
observe cached variables or singular configuration, Bonzai makes short
|
||||
work of writing even the highest-level of tests against the commands
|
||||
themselves as if they were run by a user.
|
||||
|
||||
## What People Are Saying
|
||||
|
||||
> "It's like a modular, multicall BusyBox builder for Go with built in
|
||||
|
Loading…
Reference in New Issue
Block a user