Skip to content

Manual testing of Release 2022.12.1 Part 2 #1862

@alisevych

Description

@alisevych

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

JDK <-> Framework Pair:

All possible combinations of JDK and Framework are selected.
Project type is iterated independently.
Parametrization is OFF.

Scenario:

  1. Create new project with specified project type, JDK.
  2. Remove default test dependency from Maven or Gradle configuration and refresh project structure.
  3. Copy paste ... and ... from UTBot project into source code folder.
  4. Invoke test generation for ... file with specific Framework - all test frameworks suggested to be installed.
  5. Generate tests - tests are generated without error with proper test Framework.
  6. Run tests - tests run without error.
  7. Invoke test generation again for ..., all except installed framework suggested to be installed.
  8. 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 processlang-javaIssue is related to Java support

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions