3 ms·
Can this freaky A.I. also generate the corresponding unit tests? Or, for TDD, generate the unit tests first based on the function name and description. Then, i
by symplee 6y ago
Can this freaky A.I. also generate the corresponding unit tests?
Or, for TDD, generate the unit tests first based on the function name and description. Then, if the dev updates any of those tests, or adds more tests, use that information in auto generating the appropriate code.
- cjlovett 6y agoGreat question, I actually think writing test code is harder than writing the product code.
- pseudosudoer 6y agoAt the end of the chat with OpenAI they mention that their model can be used for generating unit tests as well.
- simonhughes22 6y agoTowards the end of that section, he mentions they have also used it to generate unit tests. I doubt it's doing full TDD, but it seems they are part of the way there.
- swiley 6y agoThat actually sounds bad.