Implement Testcase for cli-apps using bubble-tea list-simple model #1062
Unanswered
Kameshvenkatesh
asked this question in
Q&A
Replies: 1 comment
-
Hopefully this reply isn't too late, but you can use the teatest to test bubbletea models. This blog post has more info. |
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
-
When implementing test-case for a cli-apps using testing go package, how to simulate the userinput which we get from list-simple bubbletea model, To brief the context I have developed a cli tool and integrated bubbletea list-simple model to get user input as a list of options (For example Yes or No) I need to simulate the user input which I get from the bubbeltea list options model, Any idea on how to implement testcase in this scenario ?
Beta Was this translation helpful? Give feedback.
All reactions