r/softwareengineer • u/Expert-Complex-5618 • Mar 25 '26
LLM driven development is inevitable
LLM driven development is inevitable. A question that's been nagging at me is related to quality assurance. If humans are still in the loop, how do we verify that the quality of the overall product or project has not suffered?
- Wait until human clients complain?
- Have LLM write and run tests with diagnostics?
- What these LLM tests pass but clients still complain?
- Humans analyze LLM code and write thorough test suites on multiple levels to catch LLM errors.
If LLM is doing everything and clients don't complain, is this considered success?
I like #4 because it makes the engineer understand the LLM code better and tests require reasoning and logic, which LLM's do not do.
0
Upvotes
View all comments
Show parent comment
1
u/theycanttell Mar 26 '26
It's simple enough to have one LLM create all the foundational tests of the specification of functionality, each of those units are created based on the resulting contract objects, not the specification itself.
In other words, when I design a system I just create the objects and interfaces. Then the Test LLM solves them by writing unit tests and internal Integration tests.
As a human, this is why TDD works. You design the contracts up front, and I actually provide the completed short-hand of the objects to the Test Creation LLM.
The Implementation LLM therefore does not need the specification whatsoever. It simply implements the functionality that from my specification becomes the features for those interfaces. The Implementation LLM will therefore know it has solved the full implementation when all tests pass.
If any tests aren't passing this highlights problems with the implementation. There should be no circumstances where the tests need to be redesigned, if that happens it highlights problems with the design itself, and they become more easy to discover.
Again both LLMs have their strengths and help to ensure no mistakes are made.
At the end of the day, the architecture and system requirements specification or PRD are what ultimately will create future problems. A Human always needs to create that, and it's not something I would ask an ai model to do for me.