-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
ctg-qaIssue is related to QA processIssue is related to QA processlang-javaIssue is related to Java supportIssue is related to Java support
Milestone
Description
Initial set-up
Check that the IntelliJ Idea UTBot plugin can be successfully installed
- Choose appropriate build
01/03 New build taken - Download plugin
- Check downloaded zip-file size < 100 MB
It is 101 MB - Open IntelliJ IDE 2022.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
JDK <-> Framework Pair:
All possible combinations of JDK and Framework are selected.
Project type is iterated independently.
Parametrization is OFF.
Scenario:
- Create new project with specified project type, JDK.
- Remove default test dependency from Maven or Gradle configuration and refresh project structure.
- Copy paste ... and ... from UTBot project into source code folder.
- Invoke test generation for ... file with specific Framework - all test frameworks suggested to be installed.
- Generate tests - tests are generated without error with proper test Framework.
- Run tests - tests run without error.
- Invoke test generation again for ..., all except installed framework suggested to be installed.
- Generate and run tests with the same framework - tests are generated and executed without errors.
Project | JDK | Framework | Sample |
---|---|---|---|
Intellij | 1.8 | JUnit 4 | /reflection/NewInstanceExample |
Intellij | 11 | JUnit 4 | /substitution/StaticSubstitutionExamples |
Intellij | 17 | JUnit 4 | /exceptions/JvmCrashExamples |
Settings to check in pairs
add sample name
Retest with the following bug fixes: #1877, #1878 using (this build for ideType=IU](https://github.com/UnitTestBot/UTBotJava/actions/runs/4373176419))
Mocks/Mode pairs
tested with Project, JDK, Framework
Mocks/Mode | Fuzzing + Symbolic | Symbolic 100% | Fuzzing 100% |
---|---|---|---|
outside package + static | mock/provider | mock/service | CommonMockExamples |
outside class + static | mock/aliasing, MockStaticMethodExample | MockStaticMethodExample | MockStaticMethodExample |
outside package + no static | MockStaticMethodExample, MockWithSideEffectExample | algorithms/errors | |
outside class + no static | MockStaticMethodExample | MockStaticMethodExample | MockStaticMethodExample |
no mocks | #1936 |
Mocks/Project pairs
tested with Project, JDK, Framework
Mocks/Project | Gradle | Maven | IntelliJ |
---|---|---|---|
outside package + static | mock/CommonMockExamples | mock/provider | |
outside class + no static | mock/MockStaticMethodExample | mock/aliasing | |
no mocks |
Metadata
Metadata
Assignees
Labels
ctg-qaIssue is related to QA processIssue is related to QA processlang-javaIssue is related to Java supportIssue is related to Java support
Type
Projects
Status
Done