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

Manual testing of Release 2022.11 #1291

Closed
56 of 60 tasks
alisevych opened this issue Nov 2, 2022 · 4 comments
Closed
56 of 60 tasks

Manual testing of Release 2022.11 #1291

alisevych opened this issue Nov 2, 2022 · 4 comments
Assignees
Labels
ctg-qa Issue is related to QA process

Comments

@alisevych
Copy link
Member

alisevych commented Nov 2, 2022

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

  • Build from the unit-test-bot/rc112022 branch
  • Download plugin
  • Check downloaded zip-file size < 100 MB
  • Open IntelliJ IDEA 2022.2.3 (last released)
  • Remove previously installed UTBot plugin
  • Clone or reuse UTBot project (https://github.com/UnitTestBot/UTBotJava.git)
  • Open the project in the IDE
  • Install the downloaded plugin

Go through manual scenarios

Manual scenario #1

  • Use default plugin settings
  • Open the utbot-sample/src/main/java/org/utbot/examples/algorithms/ArraysQuickSort.java file
  • Generate tests for the class
  • Remove results
  • Generate and Run test for a method

Manual scenario #2

  • Use default plugin settings
  • Open the utbot-sample/src/main/java/org/utbot/examples/mock/CommonMocksExample.java file
  • Generate tests with different Mocking options combinations

Regression checks

Collect too complex reflection in tests

Add a class / package - generate / generate and run tests for class / method / class - check tests

  • Installed on 2022.1.4 - Gradle project
  • Installed on 2022.2.3 - Gradle project
  • Installed on 2022.1.4 - Maven project
  • Installed on 2022.2.3 - Maven project
  • Installed on 2022.1.4 - IntelliJ project
  • Installed on 2022.2.3 - IntelliJ project

Add a class / package - generate tests for class / method / class

@alisevych

  • Gradle - existing test sources root - No mocks
  • Maven - existing test sources root - Mocks outside package
  • Maven - new test sources root - Mocks outside class
  • IntelliJ - new test sources root - Mocks outside class - Mock static methods

Add a class / package - generate tests for class / method / class

  • JDK 8 - JUnit 5 - Parametrized
  • JDK 8 - JUnit 4 - Parametrized off
  • JDK 8 - TestNG - Parametrized off
  • JDK 11 - JUnit 5 - Parametrized
  • JDK 11 - JUnit 4 - Parametrized off @tyuldashev
  • JDK 11 - TestNG - Parametrized
  • JDK 17 - JUnit 5 - Parametrized
  • JDK 17 - JUnit 4 - Parametrized off
  • JDK 17 - TestNG - Parametrized off

UI checks - in a project with JDK 11

  • timeout changes - 1/10/60 sec - check with stopwatch @tyuldashev
  • cancellation - check on different steps @tyuldashev
  • regions: Symbolic first, Fuzzing,
  • regions: error suite (NPE), explicitly thrown exceptions, caught exceptions (successful)
  • exceptions - check Problems tab @alisevych
  • context menu / shortcut
  • call from method / class / package - check Members list
  • call for several classes - Generate and Run - check all test classes are run

Check Settings - in a project with JDK 17

  • Symbolic 100%
  • Symbolic 95%
  • Symbolic 5%
  • Fuzzing 100%
  • Summaries with custom tags - check all tags
  • Summaries with plain text - check for Fuzzing
  • Summaries turned off
  • Tests with exceptions: Fail
  • Tests with exceptions: Pass
  • Overflow : Ignore overflows
  • Overflow: Treat overflows as errors

Other features testing

@alisevych alisevych added the ctg-qa Issue is related to QA process label Nov 2, 2022
@korifey korifey moved this to Todo in UTBot Java Nov 2, 2022
@alisevych
Copy link
Member Author

alisevych commented Nov 7, 2022

Cherry-picked this commit:
https://github.com/UnitTestBot/UTBotJava/pull/1298/files

Additional checklist:

@tyuldashev

IntelliJ IDEA 2022.1.4

  • Summaries turned OFF for Kotlin user code
  • + check tests generated
  • Summaries turned OFF for Java user code - Kotlin generation language selected
  • + check tests generated
  • check in existing project
  • check in new project

@alisevych

IntelliJ IDEA 2022.2.3

  • Summaries turned ON for Java - Java
  • + check tests generated with Java docs tags
  • + check tests generated with Java doc plain text
  • + check tests generated with Summaries turned off
  • check in existing project
  • check in new project

Additional checks

  • Sandboxing - check annotation Disabled is correct for Summaries on / off
  • Check enableSummariesGeneration = true / false with settings.properties

@alisevych alisevych added this to the 2022.11 Release milestone Nov 8, 2022
Repository owner moved this from Todo to Done in UTBot Java Nov 8, 2022
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

2 participants