Skip to content

Conversation

@alisevych
Copy link
Member

@alisevych alisevych commented Sep 29, 2023

Description

IntelliJ UI tests for Spring and corrections of regular Java tests

Fixes #2332

  • tests on IntelliJ plugin UI in Spring projects
  • test on Spring Unit test generation in spring-petclinic project
  • test on Spring Integration test generation in spring-petclinic project
  • corrections to regular Java flow tests

How to test

Automated tests

  1. Comment exclude("/org/utbot/**") in utbot-intellij/build.gradle.kts
  2. Run Gradle task utbot-intellij:runIdeForUiTests
  3. Wait till debug IDEA is started
  4. Correct DEFAULT_PROJECT_DIRECTORY in RunInfo.kt if needed (test projects will be created in this directory)
  5. Run All the tests in utbot-intellij/src/test/kotlin/org/utbot/tests
    CreateProjects will be run first each time - and only then UnitTestBotActionTest - using created projects.

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.

@alisevych alisevych added ctg-qa Issue is related to QA process comp-ide Issue is related to IDE support lang-java Issue is related to Java support comp-spring Issue is related to Spring projects support labels Sep 29, 2023
@alisevych alisevych added this to the Spring Phase 4 milestone Sep 29, 2023
@alisevych alisevych self-assigned this Sep 29, 2023
And clone spring-petclinic from VCS.
@alisevych alisevych removed this from the Spring Phase 4 milestone Oct 3, 2023
@alisevych alisevych requested a review from tyuldashev October 9, 2023 09:00
@alisevych alisevych merged commit ba1b365 into main Oct 12, 2023
@alisevych alisevych deleted the alisevych/spring_ui_tests branch October 12, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-ide Issue is related to IDE support comp-spring Issue is related to Spring projects support ctg-qa Issue is related to QA process lang-java Issue is related to Java support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autotests for Spring test generation

3 participants