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

allow specification of tests with pytest -k expression #43

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

fwc
Copy link
Contributor

@fwc fwc commented Jul 11, 2023

Currently, enochecker allows test specification like this:

$ enochecker_test -p 1234 -a localhost -A "$IP" test_putflag test_getflag

This PR instead allows to specify tests with a pytest keyword expression, like e.g.

$ enochecker_test -p 1234 -a localhost -A "$IP" "not exploit"

Note that this breaks backwards compatibility for the case in which multiple testcases are specified.

@ldruschk ldruschk merged commit b542ba3 into enowars:main Jun 5, 2024
4 checks passed
@fwc fwc deleted the test_expr branch June 5, 2024 17:50
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

Successfully merging this pull request may close these issues.

2 participants