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

make sure test execution is reproducible #19

Open
2 tasks
pveber opened this issue Dec 12, 2015 · 1 comment
Open
2 tasks

make sure test execution is reproducible #19

pveber opened this issue Dec 12, 2015 · 1 comment
Assignees

Comments

@pveber
Copy link
Contributor

pveber commented Dec 12, 2015

It seems to me that ounit runs tests in parallel, which makes our use of Random functions not reproducible. This is not great for (cross-platform) debugging, and should be fixed.

  • ensure tests are reproducible and controlled by a unique seed
  • add a command line option to set the seed
@pveber pveber self-assigned this Dec 12, 2015
@agarwal
Copy link
Member

agarwal commented Dec 14, 2015

Perhaps this would be facilitated by using Core's Quickcheck, as suggested in #20. It appears to have well defined support for this.

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

2 participants