← All projects
Project record1 mention
Originally shared on Hacker News

Todo driven development

This is an enhancement to the Gleam test runner gleeunit that adds "todo" as a separate reporting category. Instead of unfinished work showing up as failing tests, incomplete tests appear as yellow "todo" results, so when implementing part of a feature you can immediately see whether you get actual passing tests or real failures, without reading failure details to separate todos from genuine breaks.

Last shared
01 / The problem

What it addresses

Failing-test counts don't distinguish placeholder "todo" tests from real failures, so you can't tell at a glance whether a partial implementation was correct and have to read the details of the failures instead.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Todo driven development

    This is an enhancement to the Gleam test runner gleeunit that adds "todo" as a separate reporting category. Instead of unfinished work showing up as failing tests, incomplete tests appear as yellow "todo" results, so when implementing part of a feature you can immediately see whether you get actual passing tests or real failures, without reading failure details to separate todos from genuine breaks.

    Problem: Failing-test counts don't distinguish placeholder "todo" tests from real failures, so you can't tell at a glance whether a partial implementation was correct and have to read the details of the failures instead.

    Posted by @eterm · Original source ↗

    Source text · @eterm · · Source ↗

    the one I really want to get over the line is "Todo driven development" - An edit to the gleam test-runner gleeunit that adds "todo" as a separate reporting category.