-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write tests using bats
framework
#19
Comments
@Bhupesh-V I'd like to work on this. Do you have something in mind that we could use as a baseline? |
Hey have been doing some research, seems like there is lot to think about. The fundamental problem to figure out is how do we mock the execution of Another tool I tried using was shellspec for testing, but as it turns out it doesn't support testing colored output. Not really sure how to proceed further at the moment. If you are able to find something, do let me know in the thread. |
See my answer on that issue... The solution to make it work is to use custom matchers. |
Ever wrote tests for a script?
We need to use bats
Check out projects using bats for examples
Since this is a weird use case, we need to figure out what things to test or not. Suggestions are welcome
The text was updated successfully, but these errors were encountered: