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

Exit on error #34

Open
Conradowatz opened this issue Feb 8, 2024 · 0 comments
Open

Exit on error #34

Conradowatz opened this issue Feb 8, 2024 · 0 comments

Comments

@Conradowatz
Copy link
Contributor

This feature is meant for use in software testing pipelinies.
It would be nice to have the option for the testrun to abort and exit with an error exit code, if a test failes. This way you can integrate it within a software pipeline, that fails on an error.

A flag should be implement like -exitOnError with different levels as options: like lax, default or strict. Wheras strict could exit on every failed testcase, default only on security and interoperabillity relevant tests and lax only on security relevant tests (suggestion).

If the flag is set and a testcase failes, the program should exit with an error code of 1 and print out why it failed. (Please see #31).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant