Skip to content

Codium-ai/codium-code-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodiumAI - Meaningful tests for busy devs

Closed Alpha


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


How it works

Closed Alpha Version 1.0.0 - Supported in VSCode version 1.58.0 and above

Features

🤖 Generates unit tests automatically

Simply press the "generate tests" button above your Python class or function, and CodiumAI will generate a set of suggested tests for different use cases.

✨ Works seamlessly with VSCode

The generated tests will be displayed in a new tab in your VSCode IDE, along with your code description, so you can easily review and edit them as needed.

🚀 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.


Installing / Getting started

Install

Successful installation

Github Login page step one

Github Login page step two

Generate tests

Codium tab opens

Review and edit samples

Redo tests

  1. After installation, you should receive a notification on the bottom of the VSCode editor. Click "Sign in" button in the notification popup to activate Codium with your GitHub account.

If you can't see the notification on the bottom right of the editor window, click the button labeled Codium in the bottom status bar.

  1. You will be redirected to the GitHub login page.

  2. Once you confirm the activation you should be redirected back to the editor. Status notification should show your GitHub username when the activation was successful.

  3. Open existing Python file or write a new Python class/function and press the "Generate Tests" on top of the class/function.

  4. A new tab will open in your VSCode IDE with the generated tests, along with your code description and test strategies description.

  5. Review tests and edit tests strategies to improve the quality of the next tests generation.

  6. Use "Redo tests" to refine your tests according to your edits.

  7. "Accept" to add the generated tests to a new file.

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 Codium panel in the extension settings or from the command palette.

Tip show panel

How to uninstall

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

Links

Join our Discord community

Terms of use

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published