Open bjoginapally opened 1 year ago
I am curious about how to validate the interactive stdin. does bubble tea have the tool we can leverage ?
Yeah me too, that is one reason I added "research"
One option is to have a bubble tea implementation in the testing package. So that we are able to pass in values to mock the behavior. All code will be duplicated except there will be a parameter to pass in a value to return.
But is becomes a maintenance nightmare to keep them in sync (the testing and the cli bubble tea)
Overview
We should review the testing for
rad init
and determine if we have sufficient testing for this.AB#6114