You are about to follow a 3 minutes end to end tutorial to show you how to use Ponicode to detect bugs, prevent regressions, increase your code quality and coverage by generating unit tests.
Tutorial of use cases for Javascript and Typescript is available on this video HERE.
If you have not installed our extension do it for free in the IntelliJ marketplace.
- Open the CommissionCalculer.java file
- Click in the body of the function
calculateCommissionJava - You should see a pony appearing at the left of the function definition
- Click left on the pony
- Et voilà! You should see 5 to 6 test cases generated including happy paths and edge cases
- Flash test takes care of the most tedious part of testing: Syntax and testing multiple scenario
- Click on the green play button on your test file to see your test passing
