Generating Realistic Unit Tests with Mocks Based on Production Monitoring
The core message of this paper is that realistic unit tests with mocks can be automatically generated by monitoring the production execution of an application and capturing the interactions between the method under test and its external dependencies.