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

Seeded unit tests #1072

Merged
merged 4 commits into from
May 13, 2021
Merged

Seeded unit tests #1072

merged 4 commits into from
May 13, 2021

Conversation

ShadenSmith
Copy link
Contributor

Use pytest-randomly to seed our unit tests in a deterministic way. By default we'll use the system time and the seed is included in each testing log. We can use a fixed seed by supplying --randomly-seed=SEED to pytest

@ShadenSmith ShadenSmith added dependencies Pull requests that update a dependency file build Improvements to the build and testing systems. labels May 13, 2021
@ShadenSmith
Copy link
Contributor Author

Seeding works! Merging.

image

@ShadenSmith ShadenSmith merged commit 46f4573 into master May 13, 2021
@ShadenSmith ShadenSmith deleted the seeded-tests branch May 13, 2021 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Improvements to the build and testing systems. dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants