Remix.run Logo
eterm 12 hours ago

I've got so many projects I'm simultaneously working on, but 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.

It feels really good when I've been trying it locally, but I've struggled to communicate the value to the maintainer.

Essentially, instead of having a bunch of failing tests that you fix to go green, you have a bunch of yellow "todo" tests, so that when you implement a part, you can see straight away whether you now get actual passing tests or failures.

Going from "12 failing tests, 16 passing" to "10 failing tests, 18 passing" doesn't tell you as much as "12 todo tests, 16 passing" to "1 failing test, 9 todo tests, 18 passing", or "10 todo tests, 18 passing". You can tell immediately whether a partial implementation was correct or not, rather than having to read the details of the failures to understand if they're from "todo" or not.