Skip to content

Summaries should be turned off for Kotlin related generations #1283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alisevych opened this issue Nov 1, 2022 · 0 comments · Fixed by #1298
Closed

Summaries should be turned off for Kotlin related generations #1283

alisevych opened this issue Nov 1, 2022 · 0 comments · Fixed by #1298
Assignees
Labels
comp-summaries Something related to the method names, code comments and display names generation ctg-enhancement New feature, improvement or change request

Comments

@alisevych
Copy link
Member

alisevych commented Nov 1, 2022

Description

Summaries were designed for Java code and Java tests.
Currently they do not support test generation for Kotlin and KDocs in Kotlin tests.
Need to turn them off for Kotlin related generations:

  • Kotlin code is analyzed
  • tests are generated in Kotlin

Expected behavior

  1. When we analyze Kotlin code, Summaries should be turned off.
  2. When Kotlin is selected as the language for generated tests, Summaries should be turned off by default:

image

Environment

IntelliJ IDEA - 2021.2.4 - 2022.2.3 (212- 222.*)

Potential alternatives

Need to design and implement Summaries support of Kotlin (JDocs links to code and KDocs)

Context

Related bugs:

@alisevych alisevych added the ctg-enhancement New feature, improvement or change request label Nov 1, 2022
@korifey korifey moved this to Todo in UTBot Java Nov 1, 2022
@alisevych alisevych added the comp-summaries Something related to the method names, code comments and display names generation label Nov 1, 2022
@alisevych alisevych added this to the 2022.11 Release milestone Nov 1, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov moved this from Todo to In Progress in UTBot Java Nov 2, 2022
Repository owner moved this from In Progress to Done in UTBot Java Nov 3, 2022
denis-fokin pushed a commit that referenced this issue Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-summaries Something related to the method names, code comments and display names generation ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants