top | item 42522803

(no title)

thomashop | 1 year ago

Why not write tests with AI, too? Since using LLMs as coding assistants, my codebases have much more thorough documentation, testing and code coverage.

Don't start when you're already in a buggy dead-end. Test-driven development with LLMs should be done right from the start.

Also keep the code modular so it is easy to include the correct context. Fine-grained git commits. Feature-branches.

All the tools that help teams of humans of varying levels of expertise work together.

discuss

order

croes|1 year ago

Becaus then you need tests for the tests

thomashop|1 year ago

Sure. You can always write more tests. That's not a problem specific to AI.

I'd also do code reviews on the code AI produces.