logoalt Hacker News

afshinmehyesterday at 7:43 PM4 repliesview on HN

Vibe coding aside [1], it's very interesting software projects these days don't really care about adding a single test [2].

[1]: https://github.com/withastro/flue/blob/8fdf8e0e9df5bd33c3120...

[2]: https://github.com/search?q=repo%3Awithastro%2Fflue+test+pat...


Replies

gerardnicotoday at 11:10 AM

Tests is the new gold. You keep them to avoid a vibe coded fork.

amlutoyesterday at 10:05 PM

I find this impressive: in my experience, codex-rs loves to add tests even when not prompted. Of course, it’s a bit of a crap shoot as to whether the test tests useful behavior.

(My favorite so far: it created an empty file in /home/whatever and added a test to verify that some code it wrote would indeed fail when tested on this empty input and that it would fail with the correct error message. Never mind that this covered approximately none of the desired behavior and that the test would, of course, fail on any other system.

jstummbilligyesterday at 9:19 PM

That would be really interesting. I doubt it's the case, actually probably the opposite? The harnesses seem very happy to write extensive test suits, without me having to ask much.

ai_slop_hateryesterday at 9:21 PM

And what would they test? This is a meaningless wrapper for Anthropic or OpenAI SDKs.