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

PBT Tests #82

Open
bugarela opened this issue Apr 20, 2022 · 2 comments
Open

PBT Tests #82

bugarela opened this issue Apr 20, 2022 · 2 comments

Comments

@bugarela
Copy link
Collaborator

We don't have any setup for property-based testing. Pointed out by @shonfeder at https://github.com/informalsystems/tnt/pull/81/files#r853271142. I can see that helping a lot with testing since writing unit tests for individual IR components is already too much - testing combinations of them is unfeasible without PBT.

@shonfeder
Copy link
Contributor

This might be a useful and easy place for me to begin contributing work. Some first steps would include:

  • Identify feasible PBT libraries
  • Select a library to use
  • Write generators for atomic values
  • Write generators for compound values
  • Write generators for types
  • Come up with a list of places where PBTs could be especially useful

@shonfeder
Copy link
Contributor

We talked at the end of last year about having some PBT over our IR might turn up edge cases, which, currently, are left for users to discover :)

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