fast-check

@fast-check.dev

🎲 Property-based testing for JavaScript and TypeScript compatible with Vitest, Jest and others · Official website at https://fast-check.dev · Made with ♥️ by @nicolas.dubien.me

⏭️ In our next major release we are planning to move away from default exports for named ones. ```ts // Valid import in v4 // import fc from 'fast-check' // New way, already supported in v4 import * as fc from 'fast-check' ```

`vmThreads` is 30% faster in Vitest 5 for your jsdom tests. It is now a much better alternative to the default forks+jsdom. Vitest 5 also comes with a `vitest doctor` command that will find the best settings for you! As a note, browser mode also becomes ~30% faster, but for different reasons :)

an app with 342 modules + real deps is ~32% faster. 1022 modules + heavier deps is ~28% faster

FYI if you use pnpm and upgraded from Vite 7 -> 8, you might still have esbuild installed but unused. You can purge it out by: 1. Set `autoInstallPeers: false` in `pnpm-workspace.yaml` 2. `pnpm i` 3. Undo no1 4. `pnpm i`

🚀 We just released a fresh way lighter version of pure-rand. Install size for each recent version: • 𝟴.𝟰.𝟬: 62.4 kB 🐇 • 𝟴.𝟯.𝟬: 71.6 kB 🐘 • 𝟴.𝟮.𝟬: 53.6 kB 🐜

fast-check@fast-check.dev · 4mo ago

🗜️ We are working on a new release of pure-rand to decrease the bundle impact of our Mersenne Twister jump 🤫 📚 And on fast-check's side we pile a few ideas for a next major that should bring an even faster runtime and more.

🗜️ We are working on a new release of pure-rand to decrease the bundle impact of our Mersenne Twister jump 🤫 📚 And on fast-check's side we pile a few ideas for a next major that should bring an even faster runtime and more.

fast-check@fast-check.dev · 5mo ago

🎲 New release of pure-rand, our internal dependency. With 33% increase in bundle size but for the right cause: we want to provide users with ways to jump on Mersenne Twister generators. It has been a long PR started 6 years ago and that finally made it.

🎲 New release of pure-rand, our internal dependency. With 33% increase in bundle size but for the right cause: we want to provide users with ways to jump on Mersenne Twister generators. It has been a long PR started 6 years ago and that finally made it.

Bild

🎲 We are currently making deep changes onto our internal random library called pure-rand. Expects lighter bundle on npm and faster to load at execution time within fast-check

⚡ We are currently moving our build chain to @rolldown.rs It's a game changer! Our packages are building really fast now. In the past we were using raw Typescript, but it's not an ideal option to bundle a package even if it works pretty well.

🧪 `@nuxt/test-utils` v4 is out 🚀 👺 mocking is much more reliable ⚡ works with vitest v4 + Vite's native Module Runner ⚗️ registerEndpoint improvements much thanks to github.com/yamachi4416 and @adamdehaven.com ❤️ 👉 github.com/nuxt/test-u... let me know how it goes! 🙏

Release v4.0.0 · nuxt/test-utils

4.0.0 is the next major release. 👀 Highlights We're releasing Nuxt Test Utils v4, with support for Vitest v4. 🚀 Better mocking support The biggest improvement in this release is how mocking wo...

github.com

We are currently deeply reworking our JavaScript testing expert to make it able to deal with a larger variety of tests 🤞 Several new guidelines will be added to help AI agents into proofreading the test they wrote to be critical of themselves before giving you the test.

fast-check@fast-check.dev · 6mo ago

👉 Our testing expert is there: skills.sh/dubzzz/fast-... We will restrict the scope to non-e2e but plan to cover testing-library and playwright. 🙏 Help welcomed ♥️ Share the word and feel free to contribute, the more contributors the better the rules