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

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

Open
alisevych opened this issue Aug 16, 2023 · 0 comments
Open
Labels
comp-fuzzing Issue is related to the fuzzing comp-instrumented-process Issue is related to Instrumented process comp-spring Issue is related to Spring projects support ctg-enhancement New feature, improvement or change request

Comments

@alisevych
Copy link
Member

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

@alisevych alisevych added ctg-enhancement New feature, improvement or change request comp-fuzzing Issue is related to the fuzzing comp-instrumented-process Issue is related to Instrumented process comp-spring Issue is related to Spring projects support labels Aug 16, 2023
@alisevych alisevych changed the title Investigate transformation of Integration tests generated by Fuzzing into Unit tests Investigate transformation of Integration tests by Fuzzing into Unit tests Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-fuzzing Issue is related to the fuzzing comp-instrumented-process Issue is related to Instrumented process comp-spring Issue is related to Spring projects support ctg-enhancement New feature, improvement or change request
Projects
Status: Todo
Development

No branches or pull requests

1 participant