%0 Book Section %T Using Model Learning for the Generation of Mock Components %+ Laboratoire d'Informatique, de Modélisation et d'Optimisation des Systèmes (LIMOS) %A Salva, Sébastien %A Blot, Elliott %B Testing Software and Systems - 32nd IFIP WG 6.1 InternationalConference, ICTSS 2020, Naples, Italy, December 9-11, 2020, Proceedings %P 3-19 %8 2020-12-02 %D 2020 %R 10.1007/978-3-030-64881-7_1 %K Mock %K Model Learning %K Quality Metrics %K Communicating Systems %Z Computer Science [cs]/Software Engineering [cs.SE]Book sections %X Mocking objects is a common technique that substitutes parts of a program to simplify the test case development, to increase test coverage or to speed up performance. Today, mocks are almost exclusively used with object oriented programs. But mocks could offer the same benefits with communicating systems to make them more reliable. This paper proposes a model-based approach to help developers generate mocks for this kind of system, i.e. systems made up of components interacting with each other by data networks and whose communications can be monitored. The approach combines model learning to infer models from event logs, quality metric measurements to help chose the components that may be replaced by mocks, and mock generation and execution algorithms to reduce the mock development time. The approach has been implemented as a tool chain with which we performed experimentations to evaluate its benefits in terms of usability and efficiency. %G English %2 https://uca.hal.science/hal-03048336/document %2 https://uca.hal.science/hal-03048336/file/Mockgen3b.pdf %L hal-03048336 %U https://uca.hal.science/hal-03048336 %~ PRES_CLERMONT %~ CNRS %~ LIMOS %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-ICTSS %~ IFIP-LNCS-12543 %~ CLERMONT-AUVERGNE-INP %~ TEST3-HALCNRS