Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class is identified as abstract and no tests are generated #2647

Open
alisevych opened this issue Oct 5, 2023 · 0 comments
Open

Class is identified as abstract and no tests are generated #2647

alisevych opened this issue Oct 5, 2023 · 0 comments
Labels
comp-symbolic-engine Issue is related to the symbolic execution engine ctg-bug Issue is a bug

Comments

@alisevych
Copy link
Member

Description

ComplicatedMethodsSubstitutionsStorageTest is identified as abstract and no tests are generated

To Reproduce

  1. Install -IU- UnitTestBot pluginin IntelliJ IDEA Ultimate 2023.2
  2. Open utbot project
  3. Generate tests for ComplicatedMethodsSubstitutionsStorageTest with default settings

Expected behavior

Some tests are expected to be generated

Actual behavior

No tests are generated with default settings.
Errors report is shown.

Screenshots, logs

Errors report for both methods:

        // Couldn't generate some tests. List of errors:
        // 
        // 1 occurrences of:
        /* We do not support testing for abstract classes (or interfaces)
        without any non-abstract inheritors (implementors). Probably, it'll be supported in
        the future. */

Environment

IntelliJ IDEA version - 2023.2 Ultimate
Project - Gradle
JDK - 17

Additional context

Fuzzing 100% generates tests for both methods.

@alisevych alisevych added ctg-bug Issue is a bug comp-symbolic-engine Issue is related to the symbolic execution engine labels Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-symbolic-engine Issue is related to the symbolic execution engine ctg-bug Issue is a bug
Projects
Status: Todo
Development

No branches or pull requests

1 participant