Interesting talk by https://mourjo.me/about property-based testing using jqwik for the examples: https://www.youtube.com/watch?v=5tCzdkPPX_s
#PropertyBasedTesting #pbt
Interesting talk by https://mourjo.me/about property-based testing using jqwik for the examples: https://www.youtube.com/watch?v=5tCzdkPPX_s
#PropertyBasedTesting #pbt
looking for simple, but realistic use-cases for #PropertyBasedTesting for #teaching @jlink
my learnings so far:
https://github.com/draptik/dotnet-property-based-testing/blob/main/tests/PBTDemosFsharp.Tests/Tests_xunit.fs
This PhD thesis about #PropertyBasedTesting is not only relevant for the future of the field, but also well written and entertaining - if you are interested in the subject.
https://repository.upenn.edu/entities/publication/72ca3499-c5f6-4fc1-b5a3-9d66d8dd534e
Curious: Is anybody using #CsCheck with #FSharp #propertybasedtesting
I'd love to see some example code!
so is this ok for learning #propertybasedtesting ?
https://github.com/draptik/dotnet-property-based-testing/
#dotNET #FSharp
Any pointers?
so today I realized that @pigworker 's insight "Why Measure When You Can Require?" from "How to keep your Neighbours in Order" gives an excellent and concise way to write a generator (à la #propertybasedtesting ) for Binary Search Trees!
Here's a gist (in #fsharp ) https://gist.github.com/cxandru/c9bf9165ab753d2c57e00e8c3b97d947
curious: which 'properties' do you test for in production code? #propertybasedtesting #dotNET #java #JavaScript #TypeScript
I am slowly getting the hang of this #propertybasedtesting thing ;-)
#FSharp #dotnet
This description from a crash fix PR yesterday by Stephen Dolan put a smile on my face:
"With the old code, the following sequence of unfortunate events can occur, if you are very, very unlucky (or you are @jmid with multicoretests, manufacturing bad luck on an industrial scale):"
https://github.com/ocaml/ocaml/pull/13549
#quickcheck #pbt #propertybasedtesting
Okay, Hypothesis, this is pretty cool
https://github.com/meejah/fowl/pull/35/commits/3258de16043b37c800e49215e868595e20201d6a
Announcing fugato: Open-Source Data-Oriented Stateful Test-Check Generator for Clojure & ClojureScript
We’re excited to introduce fugato, a powerful new tool for stateful property-based testing in Clojure and ClojureScript, now available as an open-source project on GitHub!
Check it out here: https://vouch.io/fugato-open-source-announcement/
Just blogged about automatically providing ScalaCheck generators for data types from the Cats library:
https://www.jan0sch.de/post/scalacheck-generators-for-cats-data-types/
Based off of a #hackernews post, I discovered #Hypothesis a #Python property based testing framework. Looks really interesting. I'm just about starting to dive into setting up tests/test frameworks for my project and maybe this is a something worth exploring.
Oskar Wickström och Mattias Ask bygger tester för webben. Tester som bara behöver en URL. Tester för användare som inte har tid att lära sig komplicerade ramverk. Tester mycket bredare än vad Fredrik först förstod. Tester byggda på egenskapsbaserad testning.
(Vill du testa? De 100 första som använder kupongkoden KODSNACK24 får en månad gratis!)
Allt detta och mer i veckans Kodsnack! Lyssna där poddar finns, eller på https://kodsnack.se/568/ #testing #propertybasedtesting #quickstrom #squidler
Can anyone recommend some projects that actually use #PropertyBasedTesting in the wild (specifically, I'm looking for more realistic usage than the countless tutorials that go as far as "here are some properties that test if a list is sorted")?
I'm familiar with Scott Wlaschin's series, which is great, but I'd really like to see some production examples.