-
Notifications
You must be signed in to change notification settings - Fork 19
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
Test command line usage #105
Comments
hi sir, I want to work on this but I need more explanation on it. to meet it in perfect way |
Hey @saurabhraghuvanshii this is the way to work on this:
This test will fail with current code. The next step is to fix the code so the test does not fail. |
Hi @nirs , I am able to produce this because It needed macos and I am using wsl2
is there is way to test . and on running these it show nothing
|
It is possible but more challenging to fix this without macOS. Maybe it is better to find another task. |
Ya , I see sorry about that sir |
We need to test that using invalid options we fail with expected error code, and do not crash.
Example bugs caused by not having such tests:
This will also test options validation (e.g. failing for missing option or invalid values).
The tests are trivial and do not require any resources, so they can run on standard runners.
The text was updated successfully, but these errors were encountered: