avamsi / climate

"CLI Mate" autogenerates CLIs from structs / functions (nested subcommands, global / local flags, help generation, typo suggestions, shell completion etc.)
https://pkg.go.dev/github.com/avamsi/climate#section-documentation
The Unlicense
147 stars 3 forks source link

Investigate if TestCLI can check for parallel tests #29

Open avamsi opened 1 year ago

avamsi commented 1 year ago

Parallel tests would be error prone due to the global state change of args, stdout and stderr -- we could try to panic similar to testing (setenv).

avamsi commented 1 year ago

Doesn't look like isParallel is exposed but we can probably get away with simply calling Setenv?