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

{excuse me for offtop but...}: What's does the idiom 'QuickCheck' mean? #49

Closed
ValeriusGC opened this issue Jun 18, 2020 · 3 comments
Closed

Comments

@ValeriusGC
Copy link

Hi! Some offtop but i really intrigued. I saw it in the tests:

final qc = new QuickCheck(maxSize: 300, seed: 42);

This class has no fields for constructor arguments, so i am stucked what goal is for them?

@spebbe
Copy link
Owner

spebbe commented Jun 18, 2020

hi! it's a property based testing system. there's good information and a some links about it here: https://github.com/polux/propcheck .

sadly, the implementation above hasn't been updated for Dart 2, so I'm currently using a very poor replacement for it in dartz, resulting in less reliable tests until i've found/built a better engine.

@ValeriusGC
Copy link
Author

ValeriusGC commented Jun 18, 2020

I saw that project when I surfed web with this my issue. But his QuickCheck filled with appropriate fields so I understood that approach. As for yours one, this is just stub, isn't it? If so I got it.
Would You give me a favor and explain my another question (#50)? Thanks in advance.

@spebbe
Copy link
Owner

spebbe commented Jun 18, 2020

right, yes! the stubs adhere to the original contract in the hope that i will be able to plug in a full implementation eventually.

i'll look into the other tickets when i have a little more time!

@spebbe spebbe closed this as completed Jun 18, 2020
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