Do you let LLMs write both your tests and your code?

Lobsters Hottest News

Summary

A Lobsters discussion asking whether teams allow LLMs to write both production code and tests, with the author considering a policy restricting AI generation to only one of the two to avoid tautological, over-engineered results.

<p>I'm curious what stance others have taken? Or what they've experienced with this? I'm toying with adding a rule to our values.md that the LLM can only significantly generate one or the other.</p> <p>I'm reviewing a merge request at the moment where it's clear the LLM mostly did both, and they're highly tautological. And I can see how it over engineered the code, just to be able to write more tests almost.</p>
Original Article
View Cached Full Text

Cached at: 10/17/26, 02:47 AM

# Do you let LLMs write both your tests and your code? Source: [https://lobste.rs/s/miwcai/do_you_let_llms_write_both_your_tests_your](https://lobste.rs/s/miwcai/do_you_let_llms_write_both_your_tests_your) I'm curious what stance others have taken? Or what they've experienced with this? I'm toying with adding a rule to our values\.md that the LLM can only significantly generate one or the other\. I'm reviewing a merge request at the moment where it's clear the LLM mostly did both, and they're highly tautological\. And I can see how it over engineered the code, just to be able to write more tests almost\.

Similar Articles

NLNet Labs LLM Policy

Lobsters Hottest

NLNet Labs announces a policy restricting the use of LLMs in code and documentation contributions, requiring disclosure of LLM use and prohibiting AI-generated code.

Your LLM shouldn’t be your coding-agent workflow

Reddit r/openclaw

Argues that LLMs should be used for reasoning within coding-agent workflows, while deterministic infrastructure handles queues, state, retries, and recovery, so the process doesn't break when usage limits hit.

Will there be 1 and only programming language?

Reddit r/singularity

A discussion post arguing that if LLMs write most code, we should design a single AI-oriented language where users describe intent and constraints while the compiler decides implementation details across languages like Go, Java, or SQL.

Choose what LLMs can and can’t do well

Reddit r/AI_Agents

The article highlights that LLMs excel at ambiguous judgment tasks but are mediocre for consistent computation, advocating for task specialization in multi-agent systems.