Martou, Pierre
[UCL]
Mens, Kim
[UCL]
Duhoux, Benoît
[UCL]
Legay, Axel
[UCL]
Their highly adaptive nature and the combinatorial explosion of possible configurations makes testing context-oriented programs hard. We propose a methodology to automate the generation of test scenarios for developers of feature-based context-oriented programs. By using combinatorial interaction testing we generate a covering array from which a small but representative set of test scenarios can be inferred. By taking advantage of the explicit separation of contexts and features in such context-oriented programs, we can further rearrange the generated test scenarios to minimise the reconfiguration cost between subsequent scenarios. Finally, we explore how a previously generated test suite can be adapted incrementally when the system evolves to a new version. By validating these algorithms on a small use case, our initial results show that the proposed test generation approach is efficient and beneficial to developers to test and improve the design of context-oriented programs.
Bibliographic reference |
Martou, Pierre ; Mens, Kim ; Duhoux, Benoît ; Legay, Axel. Test Scenario Generation for Context-Oriented Programs.VALID 2021, The Thirteenth International Conference on Advances in System Testing and Validation Lifecycle (Barcelona, Spain, du 03/10/2021 au 07/10/2021). In: VALID 2021, The Thirteenth International Conference on Advances in System Testing and Validation Lifecycle, Jos van Rooyen, huis voor software kwaliteit, The Netherlands2021, p. 1-11 |
Permanent URL |
http://hdl.handle.net/2078.1/257243 |