Skip to content

Only one of generated tests is run with Generate and Run #1149

@alisevych

Description

@alisevych

Description

Several classes from one package are being processed by UnitTestBot plugin.
Several test classes are generated.
But there is only one test class being run.

To Reproduce

  1. Run the 'UTBotJava' project in IntelliJ Idea
  2. UnitTestBot plugin is installed - RC build
  3. In Project view find utbot-sample/src/main/java/org/utbot/examples/primitives
  4. Right-click on primitives package, select Generate tests with UnitTestBot...
  5. Several classes are selected in Members list
  6. Generate and Run
  7. Check coverage after the test generation and run finishes.

Expected behavior

All generated tests should be run.

Actual behavior

Only one generated test class is run.

Visual proofs (screenshots, logs, images)

image

image

image

Environment

WINDOWS 10 Pro
IntelliJ IDEA 2022.2.3 (Oct 5)

Additional context

Same with IntelliJ project - JDK 17
Will check on other versions of IDEA

Metadata

Metadata

Labels

ctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions