Investigate transformation of Integration tests by Fuzzing into Unit tests #2522
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
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
The text was updated successfully, but these errors were encountered: