GithubHelp home page GithubHelp logo

codiumai-vscode-release's Introduction

CodiumAI - Meaningful tests for busy devs


CodiumAI analyzes your code and generates meaningful tests to catch bugs before you ship. With CodiumAI, you can easily and quickly create comprehensive test suites that help you ensure the reliability and correctness of your software. Supports Python, Javascript and Typescript.


How it works

Beta Version - Supported in VSCode version 1.70.0 and above

Features

๐Ÿค– Generates unit tests suite automatically

๐Ÿ”ฌ Analyzes your code

๐Ÿ’ก Suggests code mofications to improve the performance and correctness of your code

๐Ÿš€ Helps you improve code quality

By creating comprehensive test suites, our tool helps you catch and fix bugs early, and ensures that your code is reliable and maintainable.


Supported languages


How to use CodiumAI?

Generate tests

Generate tests for a function or a class, using the Generate tests button above a function/class name, or using CodiumAI panel and choose the desired function/class:

Review the results

CodiumAI tab will present the test results - review the test names, objectives, types, and the test code:

Modify tests

Want to modify a single test code? Simply type the change you want inside the Suggest changes.. field, and TestGPT will modify the code based on your request:

Want to modify the objective of a single test? Edit the name or the objective of a single test, and click regenerate:

You can also just click the Reflect & Regenerate button, without changing the test description, and get an alternative code for this test:

Want more tests? Click on Give me more tests at the bottom of the test suite:

Want to remove a test from your test suite? Click on the delete button on each test:

Run your tests

You can run the generated tests directly from the CodiumAI panel. Simply click Run All Tests button to run all the test, or Run button on each single test:

Your test failed? You can easily fix it by clickeing Reflect & Fix button on the failing test:

Change test suite configurations

Improve and personalize your test suite by giving general instructions, examples of input and tests and select your preferred testing framework in the Configuration section:

Add your own test

Want to add a custom test that was not automatically generated? Click on New custom test button and write the test name and objective, and TestGPT model will generate the test code for you, based on your preferences:

Code analysis

Read your code analysis written by our TestGPT model, you can use it for documentation and to make sure your code is doing what it should. Click on the Code Analysis tab and find out:

Code suggestions

Our TestGPT model can find some insights about your code and suggests some modifications that you can apply to your code (to improve performance, correctness, and more). Click on the Code Suggestions tab and find out:

Save your test suite

When you're happy with your generated test suite, you can click on Copy tests and copy the test suite code, or simply click on Open as a file and we will create a test file for you:


Tip 1: If you can't see the Generate Tests button you might have to set "editor.codeLens": true, in your VSCode configuration file.

Tip 2: You can show and hide CodiumAI panel in the extension settings or from the command palette.


How to uninstall

  1. Select "CodiumAI" button in the bottom status bar.
  2. Hover over the authentication notification, select the settings icon and "Manage Extension" option from the dropdown.
  3. CodiumAI Extension will open in a new tab. Select Uninstall and Reload VSCode.

Links

Join our Discord community

Terms of use

codiumai-vscode-release's People

Contributors

almog-lv avatar tombrewsviews avatar omrigm avatar okotek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.