Skip to content

Investigate transformation of Integration tests by Fuzzing into Unit tests #2522

Open
@alisevych

Description

@alisevych

Description

Investigate transformation of Integration tests generated by Fuzzing into Unit tests.
Possible solutions how to do this are suggested below.
Need to try this live and analyze the results.

Expected behavior

Transform saving and retrieving data from repositories into mocks.
Use selected Mocking strategy to replace external method calls with mocks (outside of class/package).
We know what these methods are returning from the concrete execution, so we can mock them with these values.
Use JUnit4/JUnit5 runner instead of @SpringBootTest.
Do not include contextLoads() test.

Environment

IntelliJ IDEA 2023.* Ultimate/Community

Potential alternatives

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions