#adventofpbt β Public Fediverse posts
Live and recent posts from across the Fediverse tagged #adventofpbt, aggregated by home.social.
-
CW: Advent of PBT β Day 5
#AdventOfPBT #Day5 π π
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
-
CW: Advent of PBT β Day 4
#AdventOfPBT #Day4 π π
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
-
CW: Advent of PBT β Day 3
#AdventOfPBT #Day3 π π
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
-
CW: Advent of PBT β Day 2
#AdventOfPBT #Day2 π π
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
-
CW: Advent of PBT β Day 1
#AdventOfPBT #Day1 π π
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