This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

ponicode

0.71.3 • Public • Published
ponicode-gui

🦄 Ponicode has been acquired by CircleCI 🚀 Read the announcement here

Ponicode

An AI-Powered Unit Testing Tool

Ponicode is a quick and easy AI-powered solution for Javascript, Typescript & Python unit testing. Create your unit tests easily from your terminal. Just run a simple command to generate all the unit tests you need .

Achieve high test coverage without writing a single line of code. Learn more about Ponicode on ponicode.com.


Install

Install ponicode:

npm i -g ponicode

Usage

First login to ponicode:

ponicode login
# Follow the login process

Optionally configure where Ponicode should create test files:

ponicode init
# Answer few questions

You can now generate tests for your whole project in only one command 🙌:

cd /path/to/your/project
ponicode test ./
ponicode-gui

You can use shell globs to select the files to unit test:

ponicode test *.js # all JS file
ponicode test folder/ # all files inside folder
ponicode-gui
Your unit test files are automatically created within your project.

Why Ponicode?

Ponicode is the perfect tool to increase and maintain your code coverage over time, but also to bring all your existing projects up to the level of quality you need. Ponicode enables you to bootstrap the unit test creation and thus 💪 increase the robustness of your code and 🔎 detect bugs ahead of the curve. Less technical debt, less bugs in production, less tedious code writing. Each test scenario that Ponicode creates for your functions has unique context relevant inputs. We try to bring you as close as possible to an exhaustive unit test suite with both happy paths and edge cases.


Features

One command line AI powered Unit Test generation

Let our AI write the body of your tests and populate it with smart context specific inputs. We provide instant test suite generation. All you have left to do is to write your assertions. A full test suite for your function in one click by choosing the best input values for your function to achieve the highest coverage.

AI-Powered test scenario suggestions

Ponicode recommends the best test cases to achieve the highest coverage for your function. You will never again forget to test an edge case!

✔️ Don’t worry about test syntax anymore ✔️ Don’t forget risky scenarios ✔️ Focus on the added value ✔️ Save time on code writing ✔️ Upgrade legacy code quality in the blink of an eye

Supported languages

  • TypeScript
  • JavaScript
  • Python

Resources

Tutorials and Documentation

Take a look to our detailed documentation

Watch this one minute video to see Ponicode CLI in action. You can find our documentation and our other solutions on ponicode.com

Feedback, Support and Community

Join our community slack to chat with our team and other Ponicode users across the world! We will be glad to help you and hear your feedback. You will also be updated on our latest product releases.

You can also contact us on our social media profiles.

Team

We are a passionate and multinational team with a genuine desire to create groundbreaking technology and practical solutions for developers.


Keywords

coverage easy expect assertions unittest unit-test mocking test testing tdd bdd lowcode npm CLI Ponicode ai artificial-intelligence javascript typescript python

© 2023 Circle Internet Services, Inc.

Package Sidebar

Install

npm i ponicode

Homepage

ponicode.com

Weekly Downloads

22

Version

0.71.3

License

none

Unpacked Size

84.2 MB

Total Files

497

Last publish

Collaborators

  • bbouffaut
  • befunes
  • jules-faucherre