JetBrains-Research / JetBrains-Research/TestSpark

Coverage collection for Kotlin in Headless mode

Open
#379 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
88
Forks
24
PR merge metrics
No merged PRs in 30d

Description

# Description
Supporting Kotlin in the headless mode was the main goal of the #366 issue (PR #367). Due to the problems with generating `.class` files after Kotlin compilation, the coverage collection part was separated as an independent issue.

# Problems

It was found that `KotlinTestCompiler` does not produce class files(if you add a similar check as in `JavaTestCompiler`, it fails). Such information is required to collect coverage in headless mode.

Contributor guide

Open the contributing guide

Research direction

Start by reading the KotlinTestCompiler behavior described here and compare it with the class-file check in JavaTestCompiler. Then trace the headless coverage collection flow introduced around issues #366 and PR #367. Done means Kotlin compilation provides the class-file information required for coverage collection in headless mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.