Skip to content

Provides examples of using Test Code Coverage feature in Qodana linters

License

Notifications You must be signed in to change notification settings

SamyKhalfallah/qodana-coverage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coverage Tools Configuration Examples

This repository contains configuration examples for various coverage tools, specific to different programming languages and engines. Here, you will find examples for:

  1. Java and Kotlin - Preferred: IntelliJ Coverage Agent with ic output format. Also includes examples for JaCoCo.
  2. JavaScript and TypeScript - Using Jest
  3. PHP - Using PHPUnit

Coverage Data

Coverage data is collected and stored in the .qodana/code-coverage folder. Qodana Coverage Support will automatically recognize this directory and calculate the coverage data accordingly.

Usage

Please note that this repository should be used as a reference only. Feel free to suggest improvements or changes to the configurations provided here.

Limitations

It's important to note that JaCoCo support is limited: although the percentage of coverage would be computed and displayed, it won't be uploaded/downloaded to the cloud. For a more comprehensive solution, particularly for Java and Kotlin, consider using IntelliJ Coverage Agent with the ic output format instead.

For Gradle projects intending to use the ic format, additional actions are required to copy the resulting files to the .qodana/code-coverage folder.

About

Provides examples of using Test Code Coverage feature in Qodana linters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 24.1%
  • Go 24.1%
  • PHP 16.9%
  • Python 12.8%
  • Java 8.9%
  • Kotlin 5.9%
  • Other 7.3%