Suggestions Section

The Suggestions section is where you can interact with Ponicode's AI generated test cases. This section is populated when you open the interface for the first time and will be updated as you interact with it. In order to give you the best possible suggestions, Ponicode looks at:

When suggestions are generated, you will notice that only the inputs columns are populated. You can either fill the expectations column by hand, or let Ponicode do it for you by using the "bolt" button on the right hand side of the test case row.

Adding test cases to the Unit Tests section/your test file

If you spot some test cases that seem relevant to you, you can easily add them to the Unit Tests section (which will add them to your test file) by using the "Plus" button on the right hand side of each test case row.

Removing test cases

To remove a test case, simply click on the "Bin" icon at the right side of the test case row.

Running test cases

You might want to run your test cases to see wether they pass ("checked icon") or fail ("red cross icon"). There are two ways to do this:

  1. Run your test cases individually by using the "Play" button on the right hand side of the test case row.
  2. Use watch mode

Ready to write beautiful code?

Smart and simple docstring generation. Now available in your favorite code hosting platform.

Try it now