ndubien
-
📷 The recording of my talk at #reactdayberlin is finally out. Talk is about #RaceConditions #Testing in #JavaScript applied to the #React world
https://portal.gitnation.org/contents/break-the-race-easy-race-condition-detection-for-react
-
🧙 I just published an article explaining ways to detect #ReDOS issues earlier. I took back the recent #vulnerability uncovered on Zod project and demonstrate how we could have found it...
More on https://fast-check.dev/blog/2023/10/05/finding-back-a-redos-vulnerability-in-zod/
-
Prototype pollution is among the most frequent sources of #CVE #Vulnerabilty in the #JavaScript ecosystem.
Here are some tricks to detect them earlier: https://fast-check.dev/blog/2023/09/21/detect-prototype-pollution-automatically/
It references an example of such issue in #lodash. Would be glad to hear from some security experts? So any ping welcomed 🥰
-
As supporting both #CommonJS and #ESModules can be wrongly done in a thousand ways, I published why and how we achieved that on fast-check. #JavaScript #opensource
This article is a follow-up of issues reported via #publint from @bluwy and fixed thank to @AndaristRake. As making the package right was not an easy game at first glance, I thought that a how-we-do article could help other #maintainers.
Link to the article: https://fast-check.dev/blog/2023/09/04/dual-packages-or-supporting-both-cjs-and-esm/
-
So glad to be part of the speakers at @reactdayberlin this year 🥰
Check out my #reactdayberlin badge https://portal.gitnation.org/badges/react-day-berlin-2023/nicolas_dubien!
You can register via my badge and watch the livestream for free 🏁See you on December 8&12!
-
⚡ fast-check 3.12.0 has just been released! It comes with several #performance #optimizations and added some extra capacities on float and double.
Want to know more? See our release note, https://fast-check.dev/blog/2023/07/24/whats-new-in-fast-check-3-12-0/
If you don't know fast-check or never heard about #property based #testing in #JavaScript, check out our blog via the link above 🥰
-
CW: Coming soon in fast-check 🤫
-
People often wonder if #PropertyBased #Testing is really applicable. I started a demo example showing how to leverage #FastCheck against exercises coming from Cracking the Coding Interview in #JavaScript at https://github.com/dubzzz/cracking-pbt
More demos to come (race conditions..)
-
CW: Advent of PBT — Day 5
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
-
✅ #PropertyTesting is a powerful way to detect #Bugs in code. 🎉 Opinions welcomed on my suggestion to add such tool as first-class citizen in @vitest via fast-check #JavaScript. More at https://github.com/vitest-dev/vitest/discussions/2212