I always hated tests, so I've gone and just automated the task away. You'll get out complete tests that are known to pass from this tool. If you just want to try it out, here's the command to run for the entire project<p><pre><code> npx deepunit -- --a
</code></pre>
To run for just a specific file(s)<p><pre><code> npx deepunit -- --f path/to/file.ts
</code></pre>
For complete documentation: https://www.npmjs.com/package/deepunit<p>Behinds the scenes there's a whole lot going on to get code that runs and compiles. I'm sure you've already used ChatGPT to write a simple function and found that most of the time there are small things to fix up before it's ready to run. A ton of time was spent handling each of those edge cases to ensure that the output is a test that runs and passes.