Skip to content

Manual Smoke Testing of #1067 #1068

Closed
Closed
@alisevych

Description

@alisevych

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

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

Labels

ctg-qaIssue is related to QA processpriority-top-focusTop priority chosen by dev team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions