Skip to content

Reduce number of generated tests#70

Merged
robin-nitrokey merged 2 commits into
mainfrom
tests
Jun 3, 2026
Merged

Reduce number of generated tests#70
robin-nitrokey merged 2 commits into
mainfrom
tests

Conversation

@robin-nitrokey

Copy link
Copy Markdown
Member

This patch selects the test cases to run more carefully to reduce the test execution time. Instead of testing all possible combinations in one test case, the patch splits the tests into multiple test cases where each test case covers one field exhaustively. The other fields are either limited to all sensible values (if they seem relevant) or chosen randomly (if they don’t seem relevant).

This is based on #60 but tries keep at least one exhaustive test case per field.

This patch selects the test cases to run more carefully to reduce the
test execution time. Instead of testing all possible combinations in
one test case, the patch splits the tests into multiple test cases
where each test case covers one field exhaustively. The other fields
are either limited to all sensible values (if they seem relevant) or
chosen randomly (if they don’t seem relevant).
@robin-nitrokey robin-nitrokey merged commit 4477192 into main Jun 3, 2026
4 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