Skip to content

ClassNotFoundException thrown if build fails #1100

Closed

Description

@volivan239

Description

If we launch action on project that is not-compilable, UTBot will continue test generation after failed build and throw an exception.

To Reproduce

  1. Create a class that can't be compiled.
  2. Launch action on it

Expected behavior

Action ends after build failure

Actual behavior

Exception is thrown in IDEA.

Additional context

This bug may also impact behavior in #1081

Activity

  1. added
    ctg-bugIssue is a bug
    comp-uiImprovements of plugin UI appearence and functionality
    on Oct 5, 2022
  2. self-assigned this
    on Oct 5, 2022
  3. moved this to Todo in UTBot Javaon Oct 5, 2022
  4. alisevych commented on Oct 5, 2022

    @alisevych
    Member

    Additional context

    I would also add the following test scenario for the future fix:

    1. Create a class that can't be compiled.
    2. Create a class that calls a method of the first class.
    3. Launch action on it.
  5. Repository owner moved this from Todo to Done in UTBot Javaon Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

comp-uiImprovements of plugin UI appearence and functionalityctg-bugIssue is a bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions