Skip to content

UTBot multi-IDE support #2611

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 45 commits into from
Oct 26, 2023
Merged

UTBot multi-IDE support #2611

merged 45 commits into from
Oct 26, 2023

Conversation

tamarinvs19
Copy link
Collaborator

@tamarinvs19 tamarinvs19 commented Sep 20, 2023

Description

IDEs

Supported plugin building for PyCharm (Community/Professional) and GoLand.
image

By default plugin will be support languages according to ideType (parameter in gradle.properties):

ideType UTBot language support IDE
IC Java, Python IDEA Community
IU Java, Python, JavaScript, Go IDEA Ultimate
PC Python PyCharm Community
PY Python, JavaScript PyCharm Professional
GO Go GoLand

For example, if you set ideType=PC (in gradle.properties) to build utbot plugin for PyCharm Community.

Language to IDEs
Language ideTypes
Java IC, IU
Python IC, IU, PC, PY
JavaScript IU, PY
Go IU, GO

Additional functionality: you can set projectType=Community to build plugin without Go and JavaScript for IDEA Ultimate.

NB: Plugin for IU works in IC (only for Java and Python), for IC works in IU; plugin for PY works in PC and for PC works in PY.

Settings

UTBot settings have been separated to "common" and -specific (now only java-specific). Java-specific settings have been moved to UnitTestBot sub-page.

In PyCharm or GoLand build Java settings will not be included.

Also Experimental language support settings now is enabled by default.

How to test

Manual tests

Build plugin ($ gradle buildPlugin) with different ideType and check that UTBot supports all suitable languages.

Self-check list

  • 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 ctg-refactoring Issue related to refactoring process comp-settings Issue is related to settings labels Sep 20, 2023
@tamarinvs19 tamarinvs19 self-assigned this Sep 20, 2023
@tamarinvs19 tamarinvs19 changed the title UTBot multi IDE support UTBot multi-IDE support Sep 20, 2023
@tamarinvs19 tamarinvs19 requested review from EgorkaKulikov and removed request for EgorkaKulikov October 26, 2023 06:34
@tamarinvs19 tamarinvs19 merged commit 1fa451f into main Oct 26, 2023
@tamarinvs19 tamarinvs19 deleted the tamarinvs19/utbot-pycharm branch October 26, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-settings Issue is related to settings comp-ui Improvements of plugin UI appearence and functionality ctg-refactoring Issue related to refactoring process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants