UnitTestBot / UTBotJava

Automated unit test generation and precise code analysis for Java
Apache License 2.0
136 stars 43 forks source link

Manual testing of Release 2022.10 #1102

Closed alisevych closed 2 years ago

alisevych commented 2 years ago

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

Manual scenario #2

Go through manual scenarios on IDEA 2022.2.2

Manual scenario #1

Manual scenario #2

@alisevych

Check following in IDEA 2022.1.4

Manual scenario #3

Manual scenario #4

Manual scenario #5

@tyuldashev

Check following in IDEA 2022.2.2

Manual scenario #3

Manual scenario #4

Manual scenario #5

Regression testing

@alisevych

IDEA 2022.1.4

Project with JDK 11:

@tyuldashev

IDEA 2022.2.2

Project with JDK 11:

alisevych commented 2 years ago

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 commented 2 years ago

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

1130

alisevych commented 2 years ago

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

1135

alisevych commented 2 years ago

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 commented 2 years ago

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

created #1140

alisevych commented 2 years ago

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

1133

tyuldashev commented 2 years ago

Reproducing:

alisevych commented 2 years ago

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

1117