← Back to list

Property-Based Testing with Jqwik

Property-Based Testing in a really nice functional programing way todo testing. Originally created at Haskell with QuickCheck. Today there…

Diego Pacheco · 2020-07-25 02:57 · 0 claps · 0.8 min read
#test #property-based-testing #fps #java #jqwik
Open on Medium ↗

Property-Based Testing with Jqwik

Property-Based Testing in a really nice functional programing way todo testing. Originally created at Haskell with QuickCheck. Today there are frameworks for pretty much all languages. Jqwik is a property-based testing framework for java. Property-based Testing is cool because you focus on a predicate / boolean expression and forget about inputs. When I say forget about, thats happen because the property based testing takes care to generate all possible inputs for you and you can save lots of typing, creating uses cases. You still need to work in your property/assertions however you end up writing much less code and cover a much wider range of possible inputs. Today I want to share a video I made about it, so let’s get started.

Video

[embed]

Code

[embed]diegopacheco/java-pocs Java Simple Pocs. Contribute to diegopacheco/java-pocs development by creating an account on GitHub.github.com

Cheers,

Diego Pacheco

Originally published at http://diego-pacheco.blogspot.com on July 25, 2020.


메타데이터
post_id
a705cba18faf
slug
property-based-testing-with-jqwik-a705cba18faf
url
https://medium.com/@diego-pacheco/property-based-testing-with-jqwik-a705cba18faf
canonical_url
https://medium.com/@diego-pacheco/property-based-testing-with-jqwik-a705cba18faf
author_url
https://medium.com/@diego-pacheco
status
ok
fetched_at
2026-07-28 22:47:02