GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Autogenerated Kotlin getters/setters shouldn't be tested · Issue #911 · UnitTestBot/UTBotJava

Autogenerated Kotlin getters/setters shouldn't be tested #911

New issue
Copy link
New issue
Copy link
Closed
#1026
#1003
Closed
Autogenerated Kotlin getters/setters shouldn't be tested#911
#1026
#1003
Copy link
Assignees
volivan239
Labels
comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionalityctg-bugIssue is a bugIssue is a buglang-kotlinIssue is related to Kotlin language supportIssue is related to Kotlin language support

Description

@volivan239
volivan239
opened on Sep 13, 2022
Issue body actions

Description

For each field Kotlin automatically generates getter/setter, there is no sense in testing them. However, they are shown in member list after launching action.

To Reproduce

Declare simple Kotlin class like class B(val x: Int), launch action on it.

Expected behavior

Action is disabled as class has no testable methods.

Actual behavior

Action is enabled, members list has one method getX(), after selecting and launching generate we receive error No methods found.

Visual proofs (screenshots, logs, images)

image

Activity

  1. volivan239
    added
    ctg-bugIssue is a bugIssue is a bug
    comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionality
    on Sep 13, 2022
  2. volivan239
    self-assigned this
    on Sep 13, 2022
  3. korifey
    added this to UTBot Javaon Sep 13, 2022
  4. korifey
    moved this to Todo in UTBot Javaon Sep 13, 2022
  5. volivan239
    closed this as completedin #1003on Sep 23, 2022
  6. volivan239
    added a commit that references this issue on Sep 23, 2022

    Disable test generation for Kotlin getters/setters #911 (#1003)

    d171955
  7. Repository owner moved this from Todo to Done in UTBot Javaon Sep 23, 2022
  8. alisevych
    added
    lang-kotlinIssue is related to Kotlin language supportIssue is related to Kotlin language support
    on Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @volivan239
    volivan239

Labels

comp-uiImprovements of plugin UI appearence and functionalityImprovements of plugin UI appearence and functionalityctg-bugIssue is a bugIssue is a buglang-kotlinIssue is related to Kotlin language supportIssue is related to Kotlin language support

Type

No type

Projects

  • UTBot Java
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.