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

proptest on the IC #148

Open
5 of 8 tasks
lastmjs opened this issue Aug 9, 2021 · 0 comments
Open
5 of 8 tasks

proptest on the IC #148

lastmjs opened this issue Aug 9, 2021 · 0 comments

Comments

@lastmjs
Copy link
Contributor

lastmjs commented Aug 9, 2021

There are a number of issues with compiling and running proptest on the IC, I am working through them:

  • Custom implementation of getrandom

    • I have the getrandom stub function, and proptest does compile. I need to fill the function with actual randomness
  • Turn off default-features, and only turn on std

  • Comment out the environment variables in proptest/src/test_runner/config.rs, during the default Config creation

  • Now dealing with time not implemented on this platform

  • Try compiling without std...perhaps that could work?

  • Get rid of instances of time::Instant::now...it would be nice to get time::Instant::now to work on the IC

  • Consider combining tests running within one query call or update call, which should be relatively fast, with full integration tests

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