From 13a0b42b250d24303e51a53c7e13af7491eee55a Mon Sep 17 00:00:00 2001 From: rwxrob Date: Thu, 21 Apr 2022 12:35:26 -0400 Subject: [PATCH] Add Cobra complexity in testing comment --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 2fac138..47f2efc 100644 --- a/README.md +++ b/README.md @@ -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