CLI/TUI Testing Package #1528
trymeouteh
started this conversation in
Ideas
Replies: 1 comment
-
|
It's not necessarily as robust as you're hoping, but this already exists. Might get at some of what you're hoping for :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I find it strange that it is rare or non existent to find good tools for testing CLI apps or TUI apps. The only thing I can find is tui-test which is made by Microsoft. Looks great but it is written in TS and therefore the test will be written in JS or TS which I personally think is fine for testing CLI or TUI apps that are written in JS or TS.
I would like to suggest the creators of Bubble Tea to create a Go package that is the equivalent of Microsoft tui-test but in Go and allow devs to easily make test in Go to test out there CLI apps and TUI apps.
To be able to test out these scenarios (These are the scenarios I can come up with)
gitgit --helpWould like to make my tests for a CLI app and TUI app written in go have their tests written in Go as well and not another language to add more complexity to the project by needing to know JS/TS to maintain the tests.
https://github.com/microsoft/tui-test
Beta Was this translation helpful? Give feedback.
All reactions