Closed
Description
Initial set-up
Check that the IntelliJ Idea UTBot plugin can be successfully installed
- Publish plugin from branch Engine process #2 #1067
- Add exact link to the build here
- Download plugin
- Check downloaded zip-file size < 100 MB
- Open IntelliJ IDEA 2022.2.2
- 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
- Check default settings in File -> Settings -> Tools -> UnitTestBot
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 - with default settings, use Alt+Shift+U
- Check tests: compiled, Java docs, test names, DisplayName, assertions
- Remove results
- Generate and Run test for a method, cancel generation
Manual scenario #2
- Use default plugin settings
- Open the utbot-sample/src/main/java/org/utbot/examples/mock/CommonMocksExample.java file
- Generate tests with Mocks on, static mocks off
- Check tests: compiled, Java docs, test names, DisplayName, assertions
- Check Mockito dependency is added
- Generate tests with Mocks on with static mocks on
Manual scenario #3
- Create a new Gradle project with JDK 13
- 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 in a package
- Generate a test with a new test root
- Check test package
Manual scenario #5
- Create a new Idea project with JDK 17
- Add a simple java file to test
- Generate tests for several classes distributed in two packages, check context menu in Project view
- Check tests are put in correct packages
- Check Concrete execution logs
Manual scenario #6
- Open IntelliJ IDEA 2022.1.4
- 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
- Generate tests for utbot-sample/src/main/java/org/utbot/examples/unsafe/UnsafeOperations.java
- check tests
Metadata
Metadata
Assignees
Type
Projects
Status
Done