π 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...
π 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...
π Welcome from @eurosky.social
Good idea π‘
I'm gonna think about it. Definitely something worth providing to ease the creation of multiple random streams.
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
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)
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
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)
π² 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
πββοΈ 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
π€― 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
As a consumer of fast-check, expect:
- Less code to download from npm
- Faster to load
- Faster to type 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.
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
βοΈ 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-...
π 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-...
π§ͺ `@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! π
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.
Spread love π Like us on @npmx.dev, npmx.dev/package/fast...
We are now part of @npmx.dev testing tool-chain. More tests to come.
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
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 β₯οΈ
π 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
Thanks a lot, we're gonna read through it to extend our expert
Try it with:
npx skills add github.com/dubzzz/fast-... --skill javascript-testing-expert
π Here is a very first version of our "JavaScript testing expert". There are still a LOT of missing guidelines.
We still want to cover basics of UI testing with testing-library and @vitest.dev with @playwright.dev but soon...
First let's play with it π€
π§ββοΈ We are currently writing down some AI skills for testing in general and some for fast-check itself
Hope it could lead to better tests and less bugs πΎ
π€« Weβre cleaning up our packages and going ESM-only.
Reworking the entire build pipeline, moving from pure tsc to Rolldown.
π @rolldown.rs is so easy to connect. Amazing how quickly you can get what you need with just a few lines.
Weβre excited to welcome Mercedes-Benz as a new sponsor of fast-check! π
copy and paste the bunny and then put something else in his hand
(\_/)
(Β°-Β°)
/>π>
π getSeed is probably something we can use to seed fast-check in Vitest context π€
vitest.dev/api/advanced...