Qodo Cover is an AI-powered tool designed to automate test generation and enhance code coverage for software projects. It leverages Generative AI to analyze code and generate qualified unit tests, streamlining development workflows and ensuring high-quality software. It supports running via a terminal CLI or integration into CI/CD pipelines.
The tool includes components for running tests, parsing coverage reports, building prompts for LLMs, and interacting with AI models to generate tests. It supports multiple languages including Python, Go, and Java, and requires an OpenAI API key and code coverage tools like pytest-cov or Jacoco to function.
Use Cases:
Qodo Cover aims to help efficiently increase code coverage, by automatically generating qualified tests to extend code coverage. Qodo Cover can run in your GitHub CI workflow or locally as a CLI tool.
GitHub license (https://img.shields.io/badge/License-AGPL_3.0-blue.svg) Discord (https://badgen.net/badge/icon/discord?icon=discord&label&color=purple) Twitter (https://img.shields.io/twitter/follow/qodoai)
⚠️ This repository is no longer maintained. Please fork it if you wish to continue development or use it in your own projects.
New mode - Run Qodo Cover Pro in your GitHub CI workflow (https://github.com/qodo-ai/qodo-ci). Currently in preview and available for free for a limited time for Python projects, leveraging your own LLM API key from your favorite LLM provider. It's a practical way to improve code quality and reliability. For more details, reach out to the Qodo team (https://www.qodo.ai/book-a-demo).
New mode - scan an entire repo, auto identify the test files, auto collect context for each test file, and extend the test suite with new tests. See more details here.
Welcome to Qodo-Cover. This focused project utilizes Generative AI to automate and enhance the generation of tests (currently mostly unit tests), aiming to streamline development workflows. Qodo-Cover can run via a terminal, and is planned to be integrated into popular CI platforms.
We invite the community to collaborate and help extend the capabilities of Qodo Cover, continuing its development as a cutting-edge solution in the automated unit test generation domain. We also wish to inspire researchers to leverage this open-source tool to explore new test-generation techniques.
This tool is part of a broader suite of utilities designed to automate the creation of unit tests for software projects. Utilizing advanced Generative AI models, it aims to simplify and expedite the testing process, ensuring high-quality software development. The system comprises several components:
Before you begin, make sure you have the following:
OPENAI_API_KEY set in your environment variables, which is required for calling the OpenAI API.pytest-cov. Add the --cov-report=xml option when running Pytest.cover_agent/CoverageProcessor.pyIf running directly from the repository you will also need:
Qodo Cover can be installed as a Python Pip package or run as a standalone executable.
Unified AI inference SDK with custom NexaML engine providing Day-0 model support across NPU, GPU, and CPU with GGUF, MLX, and .nexa format compatibility.
One-click PC WeChat chat history export tool with permanent storage, comprehensive message type support, familiar interface, and multi-account incremental backup capabilities.
Open-source Nintendo 3DS emulator based on Citra supporting Windows, macOS, Linux, and Android with community translations, compatibility reporting, and multi-platform development.
SwiftUI macOS app that transforms MacBook notch into dynamic music control center with visualizer, calendar, file shelf with AirDrop, and complete HUD replacement.
Cross-platform peer-to-peer screen sharing tool for Mac, Windows, and Linux without accounts or server infrastructure, using direct connections after initial handshake.
Cross-platform Flutter comic reader supporting local and network comics with JavaScript sources, favorites management, downloads, comments, ratings, and headless mode.