Advertisement · 728 × 90

Posts by fast-check

Preview
Basic Setup | fast-check Setup your environment

You mean fast-check?

Maybe our quick start could help to get more about it: fast-check.dev/docs/tutoria...

1 week ago 0 0 0 0

🚀 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 🐜

1 week ago 2 0 0 0
Preview
Built-in support for Property Based Tests (aka Fuzzing) · vitest-dev vitest · Discussion #2212 Hey 👋, I'm Nicolas, core maintainer and main contributor to the project called fast-check. The project does property based testing and reaches 8 million (650k when I opened the ticket) downloads a ...

We still have a pending discussion about providing a native and built-in integration directly in vitest: github.com/vitest-dev/v...

Not only for beforeEach but also for discovery and simplicity to use.

1 week ago 0 0 0 0

So far it comes with a few limitations that we have not overcome yet. The clean up of the first beforeEach is fully handled by vitest, as such you'll see the second beforeEach and it's clean up being executed before the first clean up gets called.

1 week ago 0 0 1 0
Preview
@fast-check/vitest - npmx Property based testing for Vitest based on fast-check

🖇️ Our latest release of @fast-check/vitest added native support for before each/afterEach hooks of @vitest.dev. No more need to manually connect them into fast-check assertions they get automatically integrated if you use our connector package.

Connector: npmx.dev/package/@fas...

1 week ago 15 3 2 1

🗜️ 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.

1 week ago 0 0 0 1
Post image

🎲 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.

2 weeks ago 13 1 0 1
Preview
What's new in fast-check 4.6.0? | fast-check Until now, stringMatching had no built-in way to cap the length of the produced strings except applying a manual post-filter on the generated values. This release adds a maxLength constraint to ensure...

⚡ fast-check 4.6.0 is here!

It comes with:

🗜️ Lighter bundle
🔧 Extra capabilities for stringMatching

More details at fast-check.dev/blog/2026/03...

3 weeks ago 11 1 0 0
Post image

🚀 This is it: version 8.0.0 of pure-rand is out!

📦 Lighter bundle
🛢️ No more barrel files
🧹 Simplified API by default

npmx.dev/package/pure...

1 month ago 9 2 0 0

👋 Welcome from @eurosky.social

1 month ago 19 0 0 1
Advertisement

Good idea 💡

I'm gonna think about it. Definitely something worth providing to ease the creation of multiple random streams.

1 month ago 0 0 0 0

The next major is currently under active development and should come with several new distributions and maybe a few extra generators. But for generators we will have to carefully benchmark them one by one to keep our high throughput standard

1 month ago 0 0 1 0

To date pure-rand is the fastest random generator library on npm. And it comes with plenty of built-in generators and distributions (to pull data outside of generators)

1 month ago 0 0 1 0

We are currently trying to solve most of the issues that made the #faker project copy paste the code directly in their source code a few years ago

1 month ago 1 0 1 0

Still wondering if we should go full ESM for it. The library is being used by #Jest so we are not sure we do that given they don't support require(esm)

1 month ago 0 0 1 0

🎲 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

1 month ago 12 0 1 1
Preview
fast-check official documentation | fast-check fast-check is a Property-based Testing framework for JavaScript and TypeScript. It works with Jest, Mocha, Vitest, and others. Let's fuzz!

🏃‍♂️ Currently updating all our links to point to @npmx.dev · PRs on their way to update our website fast-check.dev but also all the README files

1 month ago 15 3 0 1

🤯 Still impressed to see how simple it is to move from Jest to @vitest.dev

We just moved pure-rand, one of the core packages in fast-check

1 month ago 5 0 0 0
Advertisement

As a consumer of fast-check, expect:

- Less code to download from npm
- Faster to load
- Faster to type check

1 month ago 1 0 0 0

⚡ 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.

1 month ago 9 0 1 0

Thanks a lot @orta.io · I was worried about the super powers of it. I wanted to switch to it to have it running even before I click on the 'approve run workflows' on the PR

1 month ago 1 0 1 0

⁉️ Is this GitHub action workflow risky?

With pull_request alone I have to wait for having manually approved the workflows to run on the PR, pull_request_target seems to be the way to go, but I'm uncomfortable with using it 😬

Anyone to confirm it's safe?

github.com/dubzzz/fast-...

1 month ago 1 1 1 0

🔑 We've just reworked our template for pull requests on @fast-check.dev

With the rise of vibe-coding we wanted to take into account this new trend in our checklist that must be completed before opening a PR: github.com/dubzzz/fast-...

1 month ago 6 0 0 0
Preview
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...

🧪 `@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! 🙏

1 month ago 69 10 1 0

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.

2 months ago 7 0 0 0
npmx

Spread love 💕 Like us on @npmx.dev, npmx.dev/package/fast...

2 months ago 5 1 0 1

We are now part of @npmx.dev testing tool-chain. More tests to come.

2 months ago 19 1 0 0
Post image

Am I the only one or is Claude Code from @anthropic.com automatically setting up @fast-check.dev along @vitest.dev when asked to add tests to a project?

The prompt was:
> add test coverage to this repository, feel free to add the packages you feel relevant to achieve that task

No skill added

2 months ago 2 1 2 0
Advertisement

No need to open an issue to contribute to this skill. Just open a PR and we will do the triage. Si suggestions and edits welcomed ♥️

2 months ago 0 0 0 0

👉 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

2 months ago 5 2 1 1