Buch ; Online: RICK
Generating Mocks from Production Data
2023
Abstract: ... However, implementing test doubles within tests is not straightforward. With this demonstration, we introduce RICK ... and stubs. RICK monitors the invocation of target methods and their interactions with external ... components. Based on the data collected from these observations, RICK produces unit tests with mocks, stubs ...
Abstract | Test doubles, such as mocks and stubs, are nifty fixtures in unit tests. They allow developers to test individual components in isolation from others that lie within or outside of the system. However, implementing test doubles within tests is not straightforward. With this demonstration, we introduce RICK, a tool that observes executing applications in order to automatically generate tests with realistic mocks and stubs. RICK monitors the invocation of target methods and their interactions with external components. Based on the data collected from these observations, RICK produces unit tests with mocks, stubs, and mock-based oracles. We highlight the capabilities of RICK, and how it can be used with real-world Java applications, to generate tests with mocks. Comment: Appears in the tool demonstrations track of the IEEE International Conference on Software Testing, Verification and Validation (ICST), 2023 |
---|---|
Schlagwörter | Computer Science - Software Engineering |
Erscheinungsdatum | 2023-02-09 |
Erscheinungsland | us |
Dokumenttyp | Buch ; Online |
Datenquelle | BASE - Bielefeld Academic Search Engine (Lebenswissenschaftliche Auswahl) |
Volltext online
Zusatzmaterialien
Kategorien
Fernleihe an ZB MED
Sie können sich den gewünschten Titel als lokale Nutzerin oder lokaler Nutzer von ZB MED direkt an den Standort Köln schicken lassen.