Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
537 changes: 269 additions & 268 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image: /img/blog/2023-05-16-fast-check-loves-docusaurus--social.png

The story of fast-check's documentation: from markdown files accessible in the repository to a proper website available at [fast-check.dev](https://fast-check.dev/).

<!--truncate-->
{/* truncate */}

## Story

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In this release, our primary focus has been to enhance the race condition detect

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Local act

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release comes with a new arbitrary called `stringMatching`. This arbitrary

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## String from regex

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release comes with a new arbitrary called `ulid`. This arbitrary is respons

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## ULID

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release introduces performance optimizations for `float`, `double` and `uli

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Performance optimizations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The rise of ES Modules was both a relief and a pain. It relieved us of the need

In this article, we will explore how we publish fast-check to support both CommonJS and ES Modules seamlessly.

<!--truncate-->
{/* truncate */}

## The world before ES Modules

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release introduces some new opt-in options on `date`, `dictionary` and `rec

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Mission

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Prototype pollution is among the most frequent sources of Common Vulnerabilities

In this post, you will learn what they are and how you can find them easily using fast-check.

<!--truncate-->
{/* truncate */}

## Prototype pollution

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ On the 28<sup>th</sup> of September 2023, a critical security vulnerability affe

This post proposes an approach to anticipate and prevent such vulnerabilities. by leveraging fast-check and its ecosystem.

<!--truncate-->
{/* truncate */}

## The vulnerability

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release changes the way we import type-only files internally in fast-check.

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Importing types

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release added support for the parameter `depthIdentifier` on `dictionary`.

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Recursive dictionary

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release makes `fc.pre` safer in terms of typings. It leverages the "[assert

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Assertion function

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release exposes additional details regarding the random generator passed to

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Main thread to Workers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release introduces some new opt-in options on floating point number arbitra

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## The new `noInteger` option

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release introduces new opt-in options for objects arbitraries such as `anyt

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## The new `withUnicodeString` and `noUnicodeString` options

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release introduces new arbitraries to enhance shrinking capabilities and de

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Bye bye `Arbitrary.prototype.noBias`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image: /img/blog/2024-07-18-integrating-faker-with-fast-check--social.png

[Faker](https://fakerjs.dev) is a well-known and powerful library for generating fake data. It provides a wide range of random but realistic-looking data generators. However, testing with purely random data can be risky, which is why property-based testing is valuable. While using fake but realistic data in tests can be beneficial, it is essential to integrate it properly. fast-check offers a robust solution for this integration.

<!--truncate-->
{/* truncate */}

## Random data in tests

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release introduces support for UUIDs version 6 to 15. It also extends `uuid

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## New `version` constraint for `uuid`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This release extends `string` capabilities to generate not only printable ASCII

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Polyglot `string`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The previous release introduced the `unit` concept to the string arbitraries, en

Continue reading to explore the detailed updates it brings.

<!--truncate-->
{/* truncate */}

## Polyglot `string` to the next level

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-01-advent-of-pbt-day-1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your first challenge: he’s struggling to answer children in the proper and efficient order. Something seems to be going wrong—can you uncover the issue and save Christmas? 🎄🔧

<!--truncate-->
{/* truncate */}

## Letters to Santa

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-02-advent-of-pbt-day-2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: he’s worried that some children might be receiving duplicate responses — and possibly double the gifts! Santa suspects something is wrong with the way duplicates are handled by elves. Can you investigate and ensure everyone gets exactly what they deserve? 🎄🔧

<!--truncate-->
{/* truncate */}

## Never answer twice

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-03-advent-of-pbt-day-3/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: he needs you to investigate whether the fresh new word lookup system is working as expected. Can you ensure it’s accurate, so everyone gets exactly what they deserve? 🎄🔧

<!--truncate-->
{/* truncate */}

## Word Lookup in Santa's Letters

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-04-advent-of-pbt-day-4/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: he’s struggling with a slow system for locating letters on his massive grid of post office boxes. The elves proposed a faster method, but Santa suspects it might not work as intended. Can you make sure their implementation is up to the task? 🎄🔧

<!--truncate-->
{/* truncate */}

## Post Office finder

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-05-advent-of-pbt-day-5/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: he’s worried about the security of his high-traffic website. The elves have created a system to validate security keys, but Santa fears it might be flawed. Can you test their implementation and ensure it’s rock solid? 🎄🔧

<!--truncate-->
{/* truncate */}

## SSL/TLS security checks

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-06-advent-of-pbt-day-6/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves have designed an algorithm to compute the next barcode for Santa’s presents—a task that grows harder each year. Santa suspects their implementation might not be reliable. Can you find errors in the algorithm to ensure every present is labeled correctly? 🎄🔧

<!--truncate-->
{/* truncate */}

## The barcode

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-07-advent-of-pbt-day-7/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves have developed an algorithm to simplify the paths to items stored in Santa’s massive network of nested boxes. Santa fears the algorithm may have flaws, potentially making critical items impossible to find. Can you uncover any issues to ensure the system works perfectly? 🎄🔧

<!--truncate-->
{/* truncate */}

## Inventory locator

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-08-advent-of-pbt-day-8/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ algorithm to restore spaces in compressed messages might be flawed. Can you spot problematic inputs? 🎄🔧

<!--truncate-->
{/* truncate */}

## Uncompress old text messages

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-09-advent-of-pbt-day-9/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ algorithm to verify enchanted words might not handle all cases correctly. Can you find inputs that break it? 🎄🔧

<!--truncate-->
{/* truncate */}

## Santa’s enchanted words

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-10-advent-of-pbt-day-10/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: after the issue you uncovered yesterday, the elves rewrote their algorithm to verify enchanted words. But Santa isn’t fully convinced the new version is flawless. Can you find inputs that expose any remaining flaws? 🎄🔧

<!--truncate-->
{/* truncate */}

## Santa’s enchanted words

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-11-advent-of-pbt-day-11/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa’s relying on the elves’ algorithm to find the perfect spot for his sleigh at Christmas markets. Can you ensure it works flawlessly? 🎄🔧

<!--truncate-->
{/* truncate */}

## Perfect market spots

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-12-advent-of-pbt-day-12/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ newly released routing system for the sleigh might have issues. Can you uncover potential flaws and ensure Santa reaches his destination in record time? 🎄✨

<!--truncate-->
{/* truncate */}

## Fast Travel Planner

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-13-advent-of-pbt-day-13/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ system for generating unique links to children’s letters might be flawed. Can you uncover inputs that reveal potential issues and ensure every child gets their special link? 🎄🔧

<!--truncate-->
{/* truncate */}

## A glimpse into the past

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-14-advent-of-pbt-day-14/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking! Santa just reached out with a new challenge: the elves’ compression algorithm for children's letters might have some flaws. Can you identify edge cases that break the system and ensure everything works smoothly? 🎄🔧

<!--truncate-->
{/* truncate */}

## Memory efficient storage

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-15-advent-of-pbt-day-15/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ newly designed shelf system might have critical flaws. Can you uncover edge cases in how items are placed and retrieved, ensuring the system can handle the Christmas rush without hiccups? 🎄✨

<!--truncate-->
{/* truncate */}

## Conveyor belt replacement

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-16-advent-of-pbt-day-16/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ algorithm for generating Santa Codes might have some hidden flaws. Can you use your debugging skills to uncover any issues and ensure the system works flawlessly? 🎄✨

<!--truncate-->
{/* truncate */}

## Santa Code

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-17-advent-of-pbt-day-17/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves recently implemented a regex to validate email addresses for Santa's newsletter. Santa’s worried that some valid emails might be incorrectly rejected. Can you catch a valid email that’s being rejected? 🎅✨

<!--truncate-->
{/* truncate */}

## Email validator

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-18-advent-of-pbt-day-18/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ journey-planning algorithm might have hidden flaws. Can you identify any issues and ensure Santa takes the shortest route to deliver gifts on time? 🎄✨

<!--truncate-->
{/* truncate */}

## Journey planner

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-19-advent-of-pbt-day-19/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ sleigh-packing algorithm might have flaws. Can you uncover any issues and ensure Santa minimizes his trips? 🎄✨

<!--truncate-->
{/* truncate */}

## Sleigh packing

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-20-advent-of-pbt-day-20/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: he tackled a tricky coding problem to boost his morale but suspects his solution might have flaws. Can you find a bug in his implementation and restore his confidence? 🎄✨

<!--truncate-->
{/* truncate */}

## Coding day

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-21-advent-of-pbt-day-21/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. Santa just pinged you with your next challenge: the elves’ new feature for his remastered Tic-Tac-Toe game might have flaws. Can you uncover any bugs in the algorithm and ensure every child’s favorite game is perfect? 🎄✨

<!--truncate-->
{/* truncate */}

## Tic-Tac-Toe

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-22-advent-of-pbt-day-22/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking! Santa just sent you a new challenge: his elves’ algorithm for SantaMind might have bugs. Can you uncover any issues and ensure every guess gets the perfect feedback? 🎄✨

<!--truncate-->
{/* truncate */}

## SantaMind

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-23-advent-of-pbt-day-23/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking. This time, it’s not Santa but Emma who needs your help: she suspects her coin-payment algorithm might have bugs. Can you uncover any issues and ensure every elf gets paid on time for years to come? 🎄✨

<!--truncate-->
{/* truncate */}

## Money day

Expand Down
2 changes: 1 addition & 1 deletion website/blog/2024-12-24-advent-of-pbt-day-24/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Your mission is to troubleshoot these black-box algorithms using the power of fa

The clock is ticking! Emma just reached out with a new challenge: Santa’s coin distribution strategy for multiple elves might leave some unpaid. Can you identify any flaws in the algorithm and ensure every elf gets their fair share? 🎄✨

<!--truncate-->
{/* truncate */}

## Money Day: The Revenge

Expand Down
Loading
Loading