Skip to content

Instances of abstract classes and interfaces for fuzzing #416

Open
@denis-fokin

Description

@denis-fokin

Description

Currently, we handle cases of abstract collections. If a method under test accepts an abstract collection, fuzzer suggest to feed the API with instances of concrete subclasses.

It would be great to generalize such behavior. If we have a generic abstract class as a parameter type, we can feed the API with concrete implementation of subclass.

Expected behavior

Fuzzer should produce instances of concrete classes.

Environment

UTBotJava fuzzer engine.

Potential alternatives

As an alternative, we can find a method that produces an instance of the abstract class and try to create it with the concrete execution engine.

Context

No particular context.

Metadata

Metadata

Assignees

Labels

ctg-enhancementNew feature, improvement or change requestpriority-top-focusTop priority chosen by dev team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions