Skip to content

Fix problem with Pycharm plugin #2721

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

Merged
merged 2 commits into from
Dec 14, 2023
Merged

Conversation

tamarinvs19
Copy link
Collaborator

Description

Added a new module for Pycharm plugin utbot-python-pycharm. When you set ideType=PC/PY this module will be activated and utbot-intellij-main will be deactivated.

Fixes #2720

How to test

Manual tests

  1. IDEA
    1.1. Set ideType=IC and run :utbot-intellij-main:runIde
    1.2.1. Open Java project and try to generate tests
    1.2.2. Expected: Tests have been generated
    1.3.1. Open Python project and try to generate tests
    1.3.2. Expected: Tests have been generated
    1.3.3. Open Utbot plugin in settings and check that it names "UnitTestBot"
  2. Pycharm
    2.1. Set ideType=PC and run :utbot-python-pycharm:runIde
    2.2.1. Open Java project and try to generate tests
    2.2.2. Expected: You cannot generate tests
    2.3.1. Open Python project and try to generate tests
    2.3.2. Expected: Tests have been generated
    2.3.3. Open Utbot plugin in settings and check that it names "UnitTestBot for Python"

Self-check list

Check off the item if the statement is true. Hint: [x] is a marked item.

Please do not delete the list or its items.

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@tamarinvs19 tamarinvs19 added comp-ui Improvements of plugin UI appearence and functionality lang-python Issue is related to python support ctg-bug-fix PR is fixing a bug labels Dec 14, 2023
@tamarinvs19 tamarinvs19 self-assigned this Dec 14, 2023
@EgorkaKulikov EgorkaKulikov merged commit 7f46841 into main Dec 14, 2023
@EgorkaKulikov EgorkaKulikov deleted the tamarinvs19/fix-pycharm-plugin branch December 14, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug-fix PR is fixing a bug lang-python Issue is related to python support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python plugin causes makes opening test generation dialog in Java project to fail with NoClassDefFoundError
3 participants