Skip to content

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.

3 participants