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.10.2 #1187

Closed
35 of 68 tasks
alisevych opened this issue Oct 19, 2022 · 9 comments
Closed
35 of 68 tasks

Manual testing of Release 2022.10.2 #1187

alisevych opened this issue Oct 19, 2022 · 9 comments
Assignees
Labels
ctg-qa Issue is related to QA process

Comments

@alisevych
Copy link
Member

alisevych commented Oct 19, 2022

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

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

Verify fixes

Regression checks

Collect compulsory reflection in tests

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

  • Installed on 2021.2.4 - Gradle project
  • Installed on 2022.1.4 - Gradle project
  • Installed on 2022.2.3 - Gradle project
  • Installed on 2021.2.4 - Maven project
  • Installed on 2022.1.4 - Maven project
  • Installed on 2022.2.3 - Maven project
  • Installed on 2021.2.4 - IntelliJ 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

  • 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 11 - JUnit 5 - Parametrized off
  • JDK 11 - JUnit 4 - Parametrized off
  • 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 17

  • timeout changes - 1/10/60 sec - check with stopwatch
  • cancellation - check on different steps
  • regions: Symbolic first, Fuzzing, error suite (NPE), explicitly thrown exceptions, caught exceptions (successful)
  • exceptions - check regions for exceptions
  • exceptions - check Problems tab
  • context menu / shortcut
  • call from method / class / package - check Members list

Check Settings - in a project with JDK 17

  • Symbolic 100%
  • Symbolic 95%
  • Symbolic 5%
  • Symbolic 0% - 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

  • Sandboxing - check default behavior
  • Sandboxing - add some permission
  • Strings
@alisevych alisevych added the ctg-qa Issue is related to QA process label Oct 19, 2022
@korifey korifey moved this to Todo in UTBot Java Oct 19, 2022
@alisevych
Copy link
Member Author

alisevych commented Oct 19, 2022

@alisevych
Copy link
Member Author

@alisevych
Copy link
Member Author

alisevych commented Oct 20, 2022

Bug is not reproducing, but there are concrete executor errors on the same code:

@alisevych
Copy link
Member Author

new bug - has not reproduced yet:

  • com.intellij.util.IncorrectOperationException: Sorry but parent: ClientId(value=Host) (class com.intellij.openapi.client.ClientProjectSessionImpl) has already been disposed (see the cause for stacktrace) so the child: Action Update (class com.intellij.openapi.util.Disposer$2) will never be disposed

@alisevych
Copy link
Member Author

alisevych commented Oct 20, 2022

RC branch reconstructed: unit-test-bot/rc10202022 branch

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

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

Recheck fixes

Regression checks

Collect compulsory reflection in tests

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

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

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

  • Gradle - existing test sources root - No mocks
  • 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 11 - JUnit 4 - Parametrized off
  • JDK 17 - JUnit 5 - Parametrized
  • JDK 17 - TestNG - Parametrized

UI checks - in a project with JDK 17

  • regions: Symbolic first, Fuzzing, error suite (NPE), explicitly thrown exceptions, caught exceptions (successful)
  • exceptions - check regions for exceptions
  • exceptions - check Problems tab
  • context menu / shortcut
  • call from method / class / package - check Members list

Check Settings - in a project with JDK 17

  • Symbolic 100%
  • Symbolic 5%
  • Symbolic 0% - 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

  • Sandboxing - check default behavior
  • Sandboxing - add some permission
  • Strings

@alisevych
Copy link
Member Author

alisevych commented Oct 20, 2022

@alisevych
Copy link
Member Author

new bug:

  • Test generation is started for several classes. Progress bar shows that generation for 2nd / 3rd class has been already started. Cancel is clicked. No test classes are produced. - expected: Tests for already finished classes should be saved.

@alisevych
Copy link
Member Author

new blocker bug - IDEA is not responding during/after test generation:

@alisevych
Copy link
Member Author

alisevych commented Oct 28, 2022

Testing was blocked

Repository owner moved this from Todo to Done in UTBot Java Oct 28, 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