INNOQ · @innoq
511 followers · 176 posts · Server innoq.social

๐Ÿ”„ Tired of continuous testing? The concept of property-based testing promises relief: the test framework automatically covers all boundary and non-boundary cases.
๐Ÿ’กCurious about how it works? Check out @lars latest article.

innoq.com/en/articles/2023/04/

#typescript #fastcheck

Last updated 1 year 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

Philipp ClaรŸen · @philippclassen
13 followers · 24 posts · Server muenchen.social

That is the library, by the way. A JavaScript port of Haskell's QuickCheck. Highly recommended:

github.com/dubzzz/fast-check

#fastcheck #quickcheck #javascript

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