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

Split tests into "large" and "small" #361

Open
DavePearce opened this issue Oct 23, 2024 · 0 comments
Open

Split tests into "large" and "small" #361

DavePearce opened this issue Oct 23, 2024 · 0 comments

Comments

@DavePearce
Copy link
Collaborator

Instead of splitting tests based on their name, it probably makes sense to split them based on the number of tests. So, for example, we have these files:

test.accepts
test.rejects
test.small.accepts
test.small.rejects
test.large.accepts
test.large.rejects

Here, test.accepts and test.rejects are always tested. However, tests.large.accepts and tests.large.rejects are only tested upon demand (e.g. in the CI pipeline).

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