Skip to content

Python test generation UI action is unavailable in IC #1554

Closed as not planned

Description

@tamarinvs19

Description

After PR #1545 I cannot run UtBot Python plugin in IntelliJ Community.

In file UTBotJava/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/actions/GenerateTestAction.kt:

if (languageAssistant == null || !accessByProjectSettings(e)) {
    e.presentation.isEnabled = false
} else {
    languageAssistant.update(e)
}

in IC and in python project the second condition is true, but we need to call PythonLanguageAssistant.update(e).

To Reproduce

Steps to reproduce the behavior:

  1. Run the python project in IntelliJ Idea Community
  2. Try to use plugin to generate tests for python file

Expected behavior

UI action with python settings

Actual behavior

I cannot generate tests for python file

Visual proofs (screenshots, logs, images)

image

Environment

Additional context

Activity

  1. added
    ctg-bug
    lang-python
    lang-javascript
    on Dec 19, 2022
  2. moved this to Todo in UTBot Javaon Dec 19, 2022
  3. rudolf101 commented on Dec 19, 2022

    @rudolf101
    Member

    @tamarinvs19 Open IDEA settings -> UnitTestBot Plugin -> Enable Experimental Language Support

    Read #1545 for more info

  4. Repository owner moved this from Todo to Done in UTBot Javaon Dec 19, 2022
  5. added
    status-wont-fix
    and removed
    ctg-bug
    on Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

lang-javascriptlang-pythonstatus-wont-fix

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions