HACKER Q&A
📣 logicallee

Have your testing and documentation practices changed?


AI will write documentation if you ask it, and also write test suites when asked. On the other hand, it can go too far and overengineer tests, or write too much documentation if asked. When making changes to the code or refactoring it, the documentation previously written could become out of date.

Have your testing or documentation practices changed due to new workflows? How many tests and how much documentation are you asking for?


  👤 MoreQARespect Accepted Answer ✓
I find it's better to write the kind of tests you can generate docs from.

It doesnt go out of date and you dont have to keep checking it for hallucinations.

Better to save AI for tasks where it's less damaging if it screws up.