Skip to content

Conversation

LWEdslev
Copy link
Contributor

@LWEdslev LWEdslev commented Sep 22, 2025

Changed tests to use the rstest #571.
On my machine it makes the test (--release) run about 40% faster (2.8s to 1.6s)

Places where the pattern was let tests = [...] with only one test case, I changed to use rstest, since this makes adding more test cases easier. I assumed that was the reason for the tests variable being there despite there only being one test case.

@LWEdslev LWEdslev changed the title rstest parametrizing for threading test cases #571 rstest parametrizing for threading test cases Sep 22, 2025
Copy link
Member

@tarcieri tarcieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with this. We use rstest successfully with slh-dsa

@tarcieri tarcieri merged commit 4ff59f6 into RustCrypto:master Sep 26, 2025
12 checks passed
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