Skip to content
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

Open
nirs opened this issue Dec 6, 2024 · 0 comments
Open

Test command line usage #105

nirs opened this issue Dec 6, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/test

Comments

@nirs
Copy link
Member

nirs commented Dec 6, 2024

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.

@nirs nirs added good first issue Good for newcomers help wanted Extra attention is needed kind/test labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/test
Projects
None yet
Development

No branches or pull requests

1 participant