3 ms·
Already done it with GPT-4. I showed it a TypeScript module, asked it to generate a unit test and it made a working test not only covering the happy paths but
by aussieguy1234 3y ago
Already done it with GPT-4.
I showed it a TypeScript module, asked it to generate a unit test and it made a working test not only covering the happy paths but a few edge cases as well.
- ramoz 3y agoYea… agree. I’m not resonating with the downvotes here on similar comments. ChatGPT goes above and beyond for me in many ways. Tests seem… easy in terms of gpt capabilities. Last week I had it write python that traversed an AST and construct a react flow graph as well as the component. I made no edits, went through a few iterations of prompt feedback, and it worked great. Many similar interesting abilities I’ve observed from gpt.