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

Use unittest2 test runner #3073

Merged
merged 4 commits into from
Feb 15, 2025
Merged

Use unittest2 test runner #3073

merged 4 commits into from
Feb 15, 2025

Conversation

arnetheduck
Copy link
Member

Since upgrading to unittest2, the test runner prints the command line to re-run a failed test - this however relies on actually using the unittest2 command line runner.

Previously, test files were assigned numbers - with the unittest2 runner, tests are run using suite/category names instead, like so:

# run the Genesis suite
build/all_tests "Genesis::``
# run all tests with "blsMapG1" in the name
build/all_tests "blsMapG1*"
# run tests verbosely
build/all_tests -v

A reasonable follow-up here would be to review the suite names to make them easier to run :)

Since upgrading to unittest2, the test runner prints the command line to
re-run a failed test - this however relies on actually using the
unittest2 command line runner.

Previously, test files were assigned numbers - with the unittest2
runner, tests are run using suite/category names instead, like so:

```
# run the Genesis suite
build/all_tests "Genesis::``
# run all tests with "blsMapG1" in the name
build/all_tests "blsMapG1*"
# run tests verbosely
build/all_tests -v
```

A reasonable follow-up here would be to review the suite names to make
them easier to run :)
@jangko jangko merged commit 45ec6e7 into master Feb 15, 2025
26 checks passed
@jangko jangko deleted the test-runner branch February 15, 2025 07:08
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