Closed
Description
Initial set-up
Check that the IntelliJ Idea UTBot plugin can be successfully installed
- Downloaded utbot-intellij-2022.6-beta.zip
// Size on github is estimated as 94.8 MB, downloaded size is 87.4 MB - Open IntelliJ IDE
- 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 tests for the methods
Manual scenario #2
- Use default plugin settings
- Open the utbot-sample/src/main/java/org/utbot/examples/mock/CommonMocksExample.java file
- Generate tests with all available (mocking) options
// reproducing HashCode of a mocked object is used in path constraints #286
Manual scenario #3
- Create a new Gradle project
- Add a simple java file to test
- Generate a test with a new test root
bug found: ClassLoader throws UnsupportedClassVersionError on test generation with Gradle project and JDK 13 #349
Manual scenario #4
- Create a new Maven project
- Add a simple java file to test
- Generate a test with a new test root
bug found: Write access exception on test generating in Idea project with JDK 11 #350
Manual scenario #5
- Create a new Idea project
- Add a simple java file to test
- Generate tests for several classes
// both exceptions are thrown: - ClassLoader throws UnsupportedClassVersionError on test generation with Gradle project and JDK 13 #349,
- Write access exception on test generating in Idea project with JDK 11 #350