Skip to content
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

Spring test generation. Manual testing of build#2023.8.5073 #2524

Closed
20 of 29 tasks
alisevych opened this issue Aug 16, 2023 · 1 comment
Closed
20 of 29 tasks

Spring test generation. Manual testing of build#2023.8.5073 #2524

alisevych opened this issue Aug 16, 2023 · 1 comment
Assignees
Labels
ctg-qa Issue is related to QA process

Comments

@alisevych
Copy link
Member

alisevych commented Aug 16, 2023

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

  • IU plugin build 2023.8.5073 was taken
  • Download plugin
  • Check downloaded zip-file size < 180 MB
  • Open IntelliJ IDEA Ultimate 2023.2
  • Check Spring plugins are bundled
  • Remove previously installed UTBot plugin
  • Install the downloaded plugin

Gradle and Maven projects with JDK 11/17

spring-petclinic
Medical-Web-App

Check No Configuration mode + Unit tests

  • @Entity + No Configuration + Unit tests + Generate tests
  • PetTypeFormatter + No Configuration + Unit tests + Generate and Run
  • @Controller + No Configuration + Unit tests
  • Java class without annotation + No Configuration + Unit tests

Check Spring configuration + Unit tests

  • @Entity + @SpringBootApplication + Unit tests + Generate tests
  • @Controller + @SpringBootApplication + Unit tests + Generate and Run

Check Unit tests + test runners

  • @SpringBootApplication + Unit tests + JUnit4 + Generate and Run
  • XML configuration + Unit tests + JUnit5 + Generate and Run
  • Java class @Configuration + Unit tests + TestNG + Generate and Run
  • Java class @TestConfiguration + Unit tests + JUnit5 + Generate and Run

Check No Configuration mode + Mocking strategy
Copy-paste sample classes into Spring project

  • No Configuration + Unit tests + No mocks
  • No Configuration + Unit tests + Mock everything outside class
  • No Configuration + Unit tests + Mock everything outside package

Check Spring configuration + Integration tests

  • @SpringBootApplication + Integration tests + JUnit5 + Generate and Run
  • XML configuration + Integration tests + JUnit4
  • Java class @Configuration + Integration tests + JUnit4
  • Java class @TestConfiguration + Integration tests + TestNG

Check different Spring dependencies in project

  • No Spring Data
  • Spring Boot 2
  • Spring Boot 3
  • No Spring Test
  • Spring Security
@alisevych alisevych added the ctg-qa Issue is related to QA process label Aug 16, 2023
@alisevych alisevych added this to the Spring Phase 4 milestone Aug 16, 2023
@alisevych alisevych self-assigned this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-qa Issue is related to QA process
Projects
Archived in project
Development

No branches or pull requests

1 participant