Skip to content
Property-testing all* the things in SerenityOS (bobkonf2024) episode artwork

Mar 15, 2024 44 min

Property-testing all* the things in SerenityOS (bobkonf2024)

from Chaos Computer Club - archive feed Hosted by Martin Janiczek

*: not all the things. I’m a big proponent of property-based testing (as in, QuickCheck or Hypothesis), be it in Elm, Haskell, Scala or JavaScript - it’s great at finding tricky edge cases, refining your understanding of your system and giving you confidence it works for more cases than just your happy path unit tests. Imagine my horror when I saw that SerenityOS, my favorite “watch and admire it from distance” open source project didn’t have any support for property-based testing! There were three options: don’t test at all, test with unit tests, or fuzz the binary as a black box. I set out to write a property-based testing framework for SerenityOS, complete with automatic shrinking and all, and to use it to write property tests for apps and libraries all across SerenityOS. In this talk I want to share that journey, the surprising complications and how I overcame them, the tests I’ve written and categories they fall into, and the bugs I’ve found. about this event: https://bobkonf.de/2024/janiczek.html

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Property-testing all* the things in SerenityOS (bobkonf2024)

0:00 44:17

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Chaos Computer Club - archive feed?

This episode is 44 minutes long.

When was this Chaos Computer Club - archive feed episode published?

This episode was published on March 15, 2024.

Can I download this Chaos Computer Club - archive feed episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.