Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Idea: add property-based testing #5

Open
SharplEr opened this issue May 7, 2018 · 3 comments
Open

Idea: add property-based testing #5

SharplEr opened this issue May 7, 2018 · 3 comments

Comments

@SharplEr
Copy link

SharplEr commented May 7, 2018

Property-based testing is a powerful approach for testing.
It came from Haskell community (original lib called QuickCheck), but there are analogs for other languages.
The main idea to generate input data by random and trying to break guarantees which you think your code provides.
I don't use any property-based test lib for Java, so I can't say which is the best one.
I know there is ScalaCheck for Scala.
And this for Rust (by the way very good documentation).

I think you can add some property-based testing framework in your project. What do you think?

@filfreire
Copy link
Owner

@SharplEr seems like a good idea, I need to search a proper framework to try it out.

@filfreire
Copy link
Owner

@SharplEr my friend @ordepdev recommended these:

junit-quickcheck plus, also check https://www.youtube.com/watch?v=5pwv3cuo3Qk

I think we can start from here!

@ordepdev
Copy link

ordepdev commented May 7, 2018

Property-based testing rocks 🚀👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants