Skip to main content

Advent of PBT 2024 · Day 2

· 2 min read
Nicolas Dubien
fast-check maintainer

Christmas is at risk! In their rush to meet tight deadlines, Santa’s elves accidentally introduced bugs into critical algorithms. If these issues aren’t discovered in time, Christmas could be delayed for everyone worldwide!

Your mission is to troubleshoot these black-box algorithms using the power of fast-check.

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? 🎄🔧

Advent of PBT 2024 · Day 1

· 2 min read
Nicolas Dubien
fast-check maintainer

Christmas is at risk! In their rush to meet tight deadlines, Santa’s elves accidentally introduced bugs into critical algorithms. If these issues aren’t discovered in time, Christmas could be delayed for everyone worldwide!

Your mission is to troubleshoot these black-box algorithms using the power of fast-check.

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? 🎄🔧

What's new in fast-check 3.23.0?

· 6 min read
Nicolas Dubien
fast-check maintainer

The previous release introduced the unit concept to the string arbitraries, enhancing control over string generation. In version 3.23.0, we’ve extended this feature to even more arbitraries, broadening its applicability. This update also includes several performance optimizations to make your testing faster and more efficient.

Continue reading to explore the detailed updates it brings.

What's new in fast-check 3.22.0?

· 5 min read
Nicolas Dubien
fast-check maintainer

This release extends string capabilities to generate not only printable ASCII characters but also a wider range of values, finely definable by the user. It also includes several deprecations.

Continue reading to explore the detailed updates it brings.

Integrating Faker with fast-check

· 8 min read
Nicolas Dubien
fast-check maintainer

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

What's new in fast-check 3.19.0?

· 2 min read
Nicolas Dubien
fast-check maintainer

This release introduces new opt-in options for objects arbitraries such as anything, object, json and jsonValue. These options provide more elegant and shorter ways to produce objects with non-ASCII keys and values.

Continue reading to explore the detailed updates it brings.