Skip to content

Regression testing of K2 analysis, first iteration [Kotlin/JVM] #3328

@IgnatBeresnev

Description

@IgnatBeresnev

This issue is part of a larger issue: Migrate Dokka's analysis to K2 compiler (#2888).

Goal

The goal of the first iteration of regression testing K2 is to identify the major and most obvious problems that need to be fixed. Once the uncovered problems are fixed, the second iteration can focus on the finer details and corner cases.

Things to keep in mind:

  • The focus should be on Kotlin/JVM and Java projects. KMP can also be tested if there's time, but it shouldn't be too much of a blocker.
  • The HTML format is the primary one, but other formats (esp. Javadoc) can also be tested if there's time for it.
  • The produced HTML pages and their content should ideally be the same as produced by K1, but there might be insignificant (from the user's perspective) differences.
  • Java interop should be checked.
  • Dokka should work with Android projects (AGP).
  • Running Dokka on Linux / Windows / Macos should work equally well.
  • Dokka should be compatible with different versions of Kotlin (KGP), there shouldn't be any difference.

Current state

Additional context

  • Stability of Dokka's K2 analysis mostly depends on the stability of the K2 IDE plugin, because they share a lot of the underlying logic (Analysis API).
  • The majority of bugs you see in K2 IDE are expected to be relevant for Dokka as well, and vice versa.

Metadata

Metadata

Assignees

Labels

topic: K2Issues / PRs that are related to the K2 migration. See #2888

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions