This test generator is deprecated; the README says so in bold
Pythagora used GPT-4 to auto-generate Jest unit tests for Node.js, but the team has moved on to GPT Pilot.

What it does
Pythagora is (was?) a CLI tool that generates Jest unit tests for JavaScript and TypeScript functions by sending your code to GPT-4. You point it at a function, file, or folder, and it spits out test files into a pythagora_tests/ directory. It can also expand existing test suites to chase better coverage.
The interesting bit The AST parsing to find related functions and bundle context for the LLM is the actual legwork here — not just blind prompt-dumping. The team open-sourced their prompts and server code, which is more transparency than most LLM wrappers bother with.
Key highlights
- Targets standalone helper functions; the README is explicit that complex, non-standalone code needs manual massaging
- Generated 1,604 tests for Lodash in ~4 hours, finding 11 bugs (per their own example)
- Requires an OpenAI or Pythagora API key; code is sent to OpenAI’s servers
- Only outputs Jest; other frameworks are “let us know” territory
- Has a VS Code extension for the clicky-inclined
Caveats
- Deprecated: the repo banner redirects to GPT Pilot, so don’t build your CI around this
- Alpha software; the FAQ cheerfully admits some tests are “incorrectly written” and must be reviewed before committing
- Windows users are told to use Git Bash, not PowerShell — a rough edge that hasn’t been sanded down
- Your code goes to OpenAI; the privacy policy link is provided, not a guarantee
Verdict Worth a glance if you’re studying LLM test-generation patterns or want to crib their prompt engineering. Skip it if you need a maintained tool — the authors already have.