Pythagora extension README
Generate automated tests for your Node.js app via LLMs without developers having to write a single line of code.
After installing Pythagora extension, first setup your Pythagora API key by clicking on the Pythagora icon and then "Config".
Enter your Pythagora API key or OpenAI API key and click "Save". If you don't have any, you can get Pythagora API key here.
That's it, you are ready to start generating tests!
How to use?
There are few ways to generate tests using Pythagora extension:
1. Button above every function definition
Every function definition (that is exported) will have button "Generate test for function". Once you click on it, tests for that function will start to generate. You just sit and watch.
2. Right click on file
When you right-click on the file in explorer it will offer you to generate tests for all functions inside that file. Just click on "Generate tests for file using Pythagora".
3. Right click on folder
When you right-click on the folder in explorer it will offer you to generate tests for all functions inside that file. Just click on "Generate tests for folder using Pythagora".
Once tests are generated you will see them listed like this:
Connect with us
🌟 As an open source tool, it would mean the world to us if you starred the Pythagora repo 🌟
💬 Join the Discord server to get in touch.