Remix.run Logo
ivankra 2 days ago

You can prompt an LLM to generate tests from the spec and I'd bet it would easily get most of the way there, especially if you give it a reference implementation to test against. I did just that, though on a small scale - just for feature tests. The last few percent would be the real challenge, you probably don't want it to just imitate another implementation's bugs.

dmitrygr 2 days ago | parent [-]

Reference implementation that someone else — a human, wrote? Hm… so one way or another, some humans’ labour is laundered…

ivankra 2 days ago | parent [-]

Don't we all stand on the shoulders of giants?

dmitrygr 2 days ago | parent [-]

I have never attempted to take credit for someone's work, nor ever put serious effort into hiding someone's contribution. LLMs are purpose-designed for that.