UTBotJava icon indicating copy to clipboard operation
UTBotJava copied to clipboard

Investigate transformation of Integration tests by Fuzzing into Unit tests

Open alisevych opened this issue 3 years ago • 0 comments

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

  • #2321

alisevych avatar Aug 16 '23 14:08 alisevych