Sökning: id:"swepub:oai:DiVA.org:kth-333221" >
RICK :
RICK : Generating Mocks from Production Data
-
- Tiwari, Deepika (författare)
- KTH,Programvaruteknik och datorsystem, SCS
-
- Monperrus, Martin (författare)
- KTH,Teoretisk datalogi, TCS
-
- Baudry, Benoit (författare)
- KTH,Programvaruteknik och datorsystem, SCS
-
(creator_code:org_t)
- Institute of Electrical and Electronics Engineers (IEEE), 2023
- 2023
- Engelska.
-
Ingår i: 2023 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST. - : Institute of Electrical and Electronics Engineers (IEEE). ; , s. 464-466
- Relaterad länk:
-
https://urn.kb.se/re...
-
visa fler...
-
https://doi.org/10.1...
-
visa färre...
Abstract
Ämnesord
Stäng
- 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.
Ämnesord
- NATURVETENSKAP -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Computer Sciences (hsv//eng)
Nyckelord
- mocks
- stubs
- production
- oracles
- testing tool
Publikations- och innehållstyp
- ref (ämneskategori)
- kon (ämneskategori)