Wanna try #PropertyBasedTesting with #FastCheck? Everything is ready for you on codesandbox! https://codesandbox.io/s/advent-of-pbt-day-5-6ekxo?file=/src/index.spec.ts&previewwindow=tests
💡 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: https://dev.to/dubzzz/advent-of-pbt-2021-day-5-3227
#adventofpbt #day5 #propertybasedtesting #fastcheck
Let's try to #test cyclde detection in #LinkedLists via #PropertyBased. Here is a link to an up-and-running #dev environment running a #JavaScript version of the code https://codesandbox.io/s/advent-of-pbt-day-4-g0jdy?file=/src/index.spec.ts&previewwindow=tests
👋 Today's topic: detectCycleInLinkedList
📥 Answer tonight!
More details: https://dev.to/dubzzz/advent-of-pbt-2021-day-4-3m6g
#adventofpbt #day4 #test #linkedlists #propertybased #dev #javascript
Let's try to #test #fizzbuzz via #PropertyBased. Here is a link to an up-and-running #dev environment running a #JavaScript version of the code https://codesandbox.io/s/advent-of-pbt-day-3-vt4j2?file=/src/index.spec.ts&previewwindow=tests 🐎
👋 Today's topic: fizzbuzz
📥 Answer tonight!
More details: https://dev.to/dubzzz/advent-of-pbt-2021-day-3-4mac
#adventofpbt #day3 #test #fizzbuzz #propertybased #dev #javascript
Let's try to #test via #PropertyBased a function decomposing a number into primes. Here is a link to an up-and-running #dev environment running a #JavaScript version of the code https://codesandbox.io/s/advent-of-pbt-day-2-pjpqx?file=/src/index.spec.ts&previewwindow=tests 🐎
👋 Today's topic: decomposeIntoPrimes
📥 Answer tonight!
More details: https://dev.to/dubzzz/advent-of-pbt-2021-day-2-4gmg
#adventofpbt #day2 #test #propertybased #dev #javascript
Have you ever heard about #PropertyBased #Testing? Give it a try with this #advent! Everything is ready for you at https://codesandbox.io/s/advent-of-pbt-day-1-3ewqs?file=/src/index.spec.ts&previewwindow=tests, we just need you for the tests 😅💪
👋 Today's topic: lastIndexOf
📥 Answer tonight!
More details: https://dev.to/dubzzz/advent-of-pbt-2021-day-1-3jnm
#adventofpbt #day1 #propertybased #testing #advent