Hacker News new | ask | show | jobs
by cadamsdotcom 123 days ago
> write the first test so the AI knows how they should be written, and which cases should be tested. Then I tell the AI each test case and it writes them for me.

This is too low level. You’d be better off describing the things that need testing and asking for it to do red/green test-driven development (TDD). Then you’ll know all the tests are needed, and it’ll decide what tests to write without your intervention, and make them pass while you sip coffee :)

> I don’t trust it yet is when code must be copy pasted.

Ask it to perform the copy-paste using code - have it write and execute a quick script. You can review the script before it runs and that will make sure it can’t alter details on the way through.