Earlier quoted context omitted.
I subscribe to the concept of the "pyramid of tests" - lots of simpler unit tests, fewer integration tests, and very few end-to-end tests. I find that using LLMs to write unit tests is very useful. If I just wrote code which has good naming both for the classes, methods and variables, useful comments where necessary and if I already have other tests which the LLMs can use as examples for how I test things, I usually…
I also subscribe to a testing pyramid but I think it's commonly upside down IMO. You should have a few very granular unit tests for where they make the most sense (Known dangerous areas, or where they are very easy to write eg. analysis) More library/service tests. I read in an old config file and it has the values I expect. Integration/system tests should be the most common, I spin up the entire app in a container a…
Re: Using LLMs to enhance our testing practices
#81This is exactly my experience.