Skip to content

Smoke testing of UTBot Java main flow #2356

@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
  • Remove results
  • Generate and Run test for a method
  • Check only expected tests are red (failing on exceptions)
  • Check there are no yellow tests (failing on asserts)

Manual scenario #2

  • Use default plugin settings
  • Open the utbot-sample/src/main/java/org/utbot/examples/mock/CommonMocksExample.java file
  • Generate and Run tests with different Mocking options
  • Check only expected tests are red (failing on exceptions)
  • Check there are no yellow tests (failing on asserts)
  • Check generated tests consistency, layout, naming, correct mocking

Manual scenario #3

  • Create a new Gradle project with JDK 17
  • Add a sample java file to test
  • Generate a test in the existing test root
  • Check generated tests consistency, layout, naming

Manual scenario #4

  • Create a new Maven project with JDK 8
  • Add a sample java file to test
  • Generate a test with a new test root
  • Check generated tests consistency, layout, naming

Manual scenario #5

  • Create a new IntelliJ project with JDK 11
  • Add a sample java file to test
  • Generate tests for several classes
  • Check generated tests consistency, layout, naming

Metadata

Metadata

Assignees

Labels

ctg-qaIssue is related to QA process

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions