ndubien · @ndubien
76 followers · 75 posts · Server fosstodon.org

After the summer break 🌴, it's time to go back to and spend some time onto the maintenance of fast-check 🤫

Lots of upcoming in the pipe: new arbitrary for strings able to base its generated values onto examples provided by the user, support for non-serializable values on our worker-based extension, better integration with @vitest and start to pile stuff for a new major version of the library (without huge breaking changes).

#opensource #features #propertybased #javascript

Last updated 1 year ago

ndubien · @ndubien
71 followers · 50 posts · Server fosstodon.org

Why is key in development cycles? Because it can detect nasty or happening only under certain circumstances.

The technique just revealed a regression in fast-check 3.6.x, now patched in 3.6.3.

Release note: github.com/dubzzz/fast-check/r

#propertybased #testing #bugs #regressions

Last updated 2 years ago

ndubien · @ndubien
52 followers · 42 posts · Server fosstodon.org

Just started to extend my set of examples showing how to leverage to algorithms on "stacks and queues". On this topic, most of my tests adopt as it mostly deals with designing new , so it fits well.

See github.com/dubzzz/cracking-pbt 👀

#propertybased #javascript #model #based #testing #data #structure

Last updated 2 years ago

ndubien · @ndubien
51 followers · 41 posts · Server fosstodon.org

People often wonder if is really applicable. I started a demo example showing how to leverage against exercises coming from Cracking the Coding Interview in at github.com/dubzzz/cracking-pbt

More demos to come (race conditions..)

#propertybased #testing #fastcheck #javascript

Last updated 2 years ago

ndubien · @ndubien
48 followers · 35 posts · Server fosstodon.org

🎅📅

Let's try to cyclde detection in via . Here is a link to an up-and-running environment running a version of the code codesandbox.io/s/advent-of-pbt

👋 Today's topic: detectCycleInLinkedList
📥 Answer tonight!

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

#adventofpbt #day4 #test #linkedlists #propertybased #dev #javascript

Last updated 2 years ago

ndubien · @ndubien
48 followers · 35 posts · Server fosstodon.org

🎅📅

Let's try to via . Here is a link to an up-and-running environment running a version of the code codesandbox.io/s/advent-of-pbt 🐎

👋 Today's topic: fizzbuzz
📥 Answer tonight!

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

#adventofpbt #day3 #test #fizzbuzz #propertybased #dev #javascript

Last updated 2 years ago

ndubien · @ndubien
47 followers · 29 posts · Server fosstodon.org

🎅📅

Let's try to via a function decomposing a number into primes. Here is a link to an up-and-running environment running a version of the code codesandbox.io/s/advent-of-pbt 🐎

👋 Today's topic: decomposeIntoPrimes
📥 Answer tonight!

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

#adventofpbt #day2 #test #propertybased #dev #javascript

Last updated 2 years ago

ndubien · @ndubien
45 followers · 19 posts · Server fosstodon.org

🎅📅

Have you ever heard about ? Give it a try with this ! Everything is ready for you at codesandbox.io/s/advent-of-pbt, we just need you for the tests 😅💪

👋 Today's topic: lastIndexOf
📥 Answer tonight!

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

#adventofpbt #day1 #propertybased #testing #advent

Last updated 2 years ago