Skip to content

Codium-ai/codiumai-jetbrains-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Codiumate

Code, test and review with confidence - your AI mate by CodiumAI

Twitter URL Discord Twitter URL

Elevate your coding experience with iterative test generation and intelligent code assistant, and efficient PR reviews, all smoothly integrated into your development workflow. Boost your productivity, code with confidence, and optimize your development process!

It supports all languages!


How it works

Beta Version - Supported in JetBrains version 2023.1 and up

Features

🤖 Generate unit tests suite automatically

🔬 Analyze your code

💡 Suggest code modifications to improve the performance and correctness of your code

💫 Find potential bugs in your code and suggest ways to fix them

👀 Prepare better for your PR

💬 Free chat with GPT model with or without the code as context

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


TL;DR:

  • Click on the Generate Tests button above a function/class/method name
  • Use Codiumate PR-Assistant chat to prepare for your PR (Pro💎)

How to use Codiumate?

Generate tests

Generate tests for a function, a class, or a method using the CodiumAI: Test this class/function/method button above a function/class/method name:

Review the results

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

Explore behavior coverage

Codiumate generates a behavior list of your code and marks each behavior as covered or not covered based on the generated test. The number of covered behaviors calculates the coverage percentages. You can refresh the coverage when you modify your test suite (add, remove, or modify tests):

Add test for uncovered behavior

For behaviors that are not covered by tests, you can click on the Generate test button next to it, and Codiumate will generate a test for this behavior.

Add more behaviors

Missing a behavior? Simply add new behaviors and generate tests for them:

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:

You can also just click the Regenerate button 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:

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:

Save your test suite

When you're happy with your generated test suite, you can click on copy icon and copy the test suite code, or simply click on Save to file and we will create a test file for you:

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 you can apply to your code (to improve performance, correctness, and more). Click on the Code Suggestions tab and find out:

Choose the suggestion you want to apply, and merge them into your code:

Copy request ID

When reporting a bug, please copy the request ID and attach it to the bug report:

How to uninstall

  1. Go to Preferences -> Plugins and select Codiumate from the list of enabled plugins.
  2. Disable or uninstall the plugin using the dropdown below the name.

Links

Join our Discord community

Terms of use