Skip to content

Investigate how to use fuzzing in Spring unit tests #2321

Closed
@EgorkaKulikov

Description

@EgorkaKulikov

Description

We should finally investigate what to do with fuzzer in unit tests.

  1. First of all, how can it be used in No configuration mode?
  • May be for non-Spring classes (that do not inject mocks)
  • May be for the items, that cannot be injected from Spring (e.g. collections passed to constructors)?
  1. Investigate is it useful to generate unit tests with Fuzzing with Spring configuration applied
    Substitute interfaces with implementations.
    Seems that at least non-Spring classes (that do not inject mocks) Fuzzer may be useful in the mode with configuration too.
    Investigate other cases to use Fuzzing with configuration.

  2. There is a connected question how do we test some Utils class in Spring projects now, that injects nothing

  • with engine?
  • with fuzzer?

Metadata

Metadata

Assignees

Labels

comp-fuzzingIssue is related to the fuzzingcomp-springIssue is related to Spring projects supportctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions