Paul King · @paulk
53 followers · 17 posts · Server foojay.social
ndubien · @ndubien
57 followers · 45 posts · Server fosstodon.org

πŸ₯³ Just released @‍fast-check/vitest to simplify integration of fast-check with @vitest and make usage of even simpler in πŸ₯°

package available at: npmjs.com/package/@fast-check/

If you're interested into pushing such integration further, join the discussion opened on vitest side: github.com/vitest-dev/vitest/d

#propertybasedtesting #Vitest #npm

Last updated 2 years ago

rain 🌦️ :verified_trans: · @rain
659 followers · 199 posts · Server hachyderm.io

So this is the sort of bug that randomized testing is really good at finding. Out of curiosity, what are the barriers to making it standard practice to use for assembly code? The oracle is easy, it's just an equivalent written in not-assembly code.

phoronix.com/news/Linux-m68k-s

#propertybasedtesting

Last updated 2 years ago

rain 🌦️ :verified_trans: · @rain
646 followers · 190 posts · Server hachyderm.io

One of the neat little synergies between and is that you can use proptest to generate very high-quality seed corpuses for mutation fuzzers. Generating a large, complex seed corpus can give any mutation fuzzer a massive head-start!

I just created github.com/nextest-rs/nextest/ which fuzzes the filter expression parser using this technique.

#propertybasedtesting #fuzzing

Last updated 2 years ago

Willem Van den Ende · @mostalive
262 followers · 820 posts · Server mastodon.social

An enduring puzzle is the lean pub book booklet I cowrote still sells the occasional update. It says 20% complete, last update celebrates its' seventh birthday three days from now... (no one has returned it as far as I can tell, but also no other feedback).

#propertybasedtesting

Last updated 2 years ago

ndubien · @ndubien
49 followers · 38 posts · Server fosstodon.org

πŸŽ…πŸ“…

Wanna try with ? Everything is ready for you on codesandbox! codesandbox.io/s/advent-of-pbt

πŸ’‘ Tip: With Property Based, try to think out of the box. Don't try to generate the precise inputs expected by your functions but some data making you able to generate ins and outs at the same time. Or at least know a bit on the outs.

πŸ‘‹ Today's topic: respace
πŸ“₯ Answer tonight!

More details: dev.to/dubzzz/advent-of-pbt-20

#adventofpbt #day5 #propertybasedtesting #fastcheck

Last updated 2 years ago