Mon 3 Apr 2017 11:00 - 11:25 at D2.13 - Presentation & Discussions

In software development, we must always be ready to respond to changes. To reflect changes flexibly, code should be organized according to system usage. Making code modularization fully reflect system usage may seem to be too ambitious. Fortunately, tests capture system usage in a well readable form of examples. However, relating a change to the corresponding place in code remains difficult because code is organized according to technical concerns, such as objects. We propose test driven modularization, which aims at organizing code according to tests and enforces tests to be represented in code. For this, use case modularization is adapted to accommodate expressing tests in code. Test driven modularization remains compatible with use case modularization while at the same time opens new capabilities of having different views on software based on use cases and various tests simultaneously. The results of measuring effort to comprehend user actions in user interface of scenarios and complexity of use case modules show that employing user acceptance tests in code improves code comprehension and maintenance. Also, test driven modularization reduces switching between tests and code in test driven development.

(Supported by the Scientific Grant Agency of Slovak Republic (VEGA) under the grant No. VG 1/0752/14, Research & Development Operational Programme for the project Research of Methods for Acquisition, Analysis and Personalized Conveying of Information and Knowledge, ITMS 26240220039, co-funded by the ERDF, and STU Grant scheme for Support of Young Researchers (M. Bystrický).)

Mon 3 Apr

11:00 - 12:00: MOMO 2017 - Presentation & Discussions at D2.13
MOMO-2017-papers149121000000011:00 - 11:25
Media Attached
MOMO-2017-papers149121150000011:25 - 12:00