Claude Code wrote unit tests for a 15-second video

My video has unit tests

Claude Code wrote unit tests for a 15-second video

For a Petroly promo video, Claude Code built a JavaScript renderer where each frame is a function of time: time goes in, an SVG comes out, sharp turns it into pixels, and FFmpeg encodes it. The agent then wrote automated tests asserting that the push notification can't appear before the price hits its target, that no frame contains NaN, and that the cheapest station's checkmark waits for the rows to settle. Twelve localized versions share one renderer.

The same tools I use to protect an app's behaviour can protect the behaviour of its video.
  1. ripley12

    I couldn’t finish this. Please write your own blog posts.

  2. narrowtux

    If you think about it, a video editor is just an IDE for the code of the video project file

  3. shawabawa3

    Sigh, too many triplet sentences.

    Not enough commas. Short and punchy. This is slop.

    Vaguely interesting but if there's one part of your project you need to do by hand it's the blog posts

More from this day

2026-10-27