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 #1102

Closed
82 of 86 tasks
alisevych opened this issue Oct 5, 2022 · 8 comments
Closed
82 of 86 tasks

Manual testing of Release 2022.10 #1102

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

Comments

@alisevych
Copy link
Member

alisevych commented Oct 5, 2022

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed on IDEA 2022.1.4

Check that the IntelliJ Idea UTBot plugin can be successfully installed on IDEA 2022.2.2

Go through manual scenarios on IDEA 2022.1.4

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

Go through manual scenarios on IDEA 2022.2.2

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

@alisevych

Check following in IDEA 2022.1.4

Manual scenario #3

  • Create a new Gradle project with JDK 8
  • Add a simple java file to test
  • Generate a test in the existing test root

Manual scenario #4

  • Create a new Maven project with JDK 8
  • Add a simple java file to test
  • Generate a test with existing test sources root

Manual scenario #5

  • Create a new Idea project with JDK 11
  • Add a simple java file to test
  • Generate tests for several classes in a new test sources root

@tyuldashev

Check following in IDEA 2022.2.2

Manual scenario #3

  • Create a new Gradle project with JDK 8
  • Add a simple java file to test
  • Generate a test in the existing test root

Manual scenario #4

  • Create a new Maven project with JDK 8
  • Add a simple java file to test
  • Generate a test with existing test sources root

Manual scenario #5

  • Create a new Idea project with JDK 11
  • Add a simple java file to test
  • Generate tests for several classes in a new test sources root

Regression testing

@alisevych

IDEA 2022.1.4

  • Maven with JDK 11 : make following checks
  • Maven with JDK 8 : make following checks
  • Test frameworks JUnit4/ JUnit5/TestNG
  • - with Parametrization on / off
  • - with mocks on /off
  • - UtUtils class (with mocks off / on) - check it's regenerated when mocks are on for the first time
  • String Java 8 - with JDK 8
  • String Java 9 - 11 - with JDK 11

Project with JDK 11:

  • timeout changes - 1/10/60 sec
  • cancellation
  • regions: Symbolic first, Fuzzing, error suite (NPE), explicitly thrown exceptions, caught exceptions (successful)
  • exceptions - check regions for exceptions
  • context menu / shortcut
  • call from method / class / package - check Members list
  • math
  • make.symbolic
  • inner
  • collections
  • Generics - with Fuzzing
  • Sandbox - smoke

@tyuldashev

IDEA 2022.2.2

  • Gradle project with JDK 8 : make following checks
  • Gradle project with JDK 11 : make following checks
  • Test frameworks JUnit4/ JUnit5/TestNG
  • - with Parametrization on / off
  • - with mocks on /off
  • - UtUtils class (with mocks off / on) - check it's regenerated when mocks are on for the first time
  • String Java 8 - with JDK 8
  • String Java 9 - 11 - with JDK 11

Project with JDK 11:

  • timeout changes - 1/10/60 sec
  • cancellation
  • regions: Symbolic first, Fuzzing, error suite (NPE), explicitly thrown exceptions, caught exceptions (successful)
  • exceptions - check regions for exceptions
  • context menu / shortcut
  • call from method / class / package - check Members list
  • Date - check
  • Arrays
  • annotations
  • Generics - with Fuzzing
  • Sandbox - smoke
@alisevych alisevych added the ctg-qa Issue is related to QA process label Oct 5, 2022
@korifey korifey moved this to Todo in UTBot Java Oct 5, 2022
@alisevych
Copy link
Member Author

alisevych commented Oct 6, 2022

reproducing #1028 - for Recursion
reproducing #1054 - in IDEA 2022.1.4 (JBR 11), 2022.2.2 (JBR 17)
reproducing #980
reproducing #1064
reproducing #747 - for utbot-sample/src/main/java/org/utbot/examples/collections/CustomerExamples.java

@alisevych
Copy link
Member Author

alisevych commented Oct 6, 2022

new bug with Recursion - empty test class is generated, StackOverflow in Concrete executor log
(not always reproducing)
reproducing with Cycles
#1130

@alisevych
Copy link
Member Author

alisevych commented Oct 6, 2022

new bug with MockRandomExample - Fuzzing is generating false-successful test
#1135

@alisevych
Copy link
Member Author

alisevych commented Oct 6, 2022

new bug? - StringExamples hanging, cancellation doesn't help
Illegal reflective access in concrete executor logs, error test for IntPair:
/* cannot get resident body for phantom method : <java.lang.Object: void
()> */
#1141

@alisevych
Copy link
Member Author

alisevych commented Oct 6, 2022

question - conditions in parametrized tests : if (expectedResult == null) {} else {}
better generate 2 separate tests without conditions.

created #1140

@alisevych
Copy link
Member Author

alisevych commented Oct 6, 2022

question - EXPLICITLY_THROWN_UNCHECKED_EXCEPTIONS - String.repeat(-1) throws [java.lang.IllegalArgumentException: count is negative: -1]
is it correct, that explicitly?
#1133

@tyuldashev
Copy link
Collaborator

tyuldashev commented Oct 6, 2022

@alisevych
Copy link
Member Author

alisevych commented Oct 6, 2022

new bug: java.lang.reflect.InvocationTargetException
для ClassWithComplicatedMethods.sqrt2()
with Fuzzing
#1117

Repository owner moved this from Todo to Done in UTBot Java Oct 10, 2022
@alisevych alisevych changed the title Manual testing of RC build#170 Manual testing of RC 2022.10 Oct 18, 2022
@alisevych alisevych changed the title Manual testing of RC 2022.10 Manual testing of Release 2022.10 Oct 19, 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