I made a CLI that will use GPT4 to generate unit tests
I made a CLI that will use GPT4 to generate unit tests
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 npx deepunit -- --a To run for just a specific file(s) npx deepunit -- --f path/to/file.ts For complete documentation: https://www.npmjs.com/package/deepunit 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.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Dynamically generate self-signed certs for Go unit tests
Standardising 'Unit Tests' for Prompts
Writing unit tests in Golang
Unit tests on autopilot
Generate PHPUnit tests from annotations
Generate OpenAPI from Your Tests
Writing modern C unit tests with Criterion
Opunit Simple unit tests for servers and containers
Unit Tests for LangChain aps in 3 lines of code
Writing Maintainable Unit Tests Course