{"id":{"repo_id":"chalmers","oai_identifier":"oai:odr.chalmers.se:20.500.12380/302014"},"canonical_url":"https://search.ndltd.org/etd/chalmers/oai:odr.chalmers.se:20.500.12380/302014","repository":{"repo_id":"chalmers","name":"Chalmers University of Technology","base_url":"https://odr.chalmers.se/oai/request"},"display":{"title":"Study on the Efficiency of Test-Driven Development for Automotive Systems using Model-Based Design","abstract":"Since the automotive industry uses model-based design and strives towards more effective and qualitative development, this thesis explores the effectiveness of testdriven development with Simulink for development of an automotive system. To this end, a system for an automotive motor installation has been designed using a model-based design tool, Simulink, by alternating between two different development approaches; test-driven development (TDD) and a test-after (TA) approach. The quality of the code generated by these different approaches was evaluated using four metrics to cover different steps of model-based development (identification, semantics, relationships). The metrics used were: 1) Weighted blocks per module, 2) Coupling between modules, 3) Response for a module and 4) Lack of cohesion in blocks. To address the last step of model-based development (implementation), coverage of tests and time spent developing were used as metrics. Trends could be observed showing that TDD improved the quality of larger modules, while TA improved the quality of smaller modules. The time spent on developing the modules, together with the above mentioned quality metrics, showed that the development was more efficient when using TDD. Simulink as a design tool does not restrict any of these approaches, however, the test environment of Simulink significantly hinders the use of TDD.","abstract_html":"Since the automotive industry uses model-based design and strives towards more effective and qualitative development, this thesis explores the effectiveness of testdriven development with Simulink for development of an automotive system. To this end, a system for an automotive motor installation has been designed using a model-based design tool, Simulink, by alternating between two different development approaches; test-driven development (TDD) and a test-after (TA) approach. The quality of the code generated by these different approaches was evaluated using four metrics to cover different steps of model-based development (identification, semantics, relationships). The metrics used were: 1) Weighted blocks per module, 2) Coupling between modules, 3) Response for a module and 4) Lack of cohesion in blocks. To address the last step of model-based development (implementation), coverage of tests and time spent developing were used as metrics. Trends could be observed showing that TDD improved the quality of larger modules, while TA improved the quality of smaller modules. The time spent on developing the modules, together with the above mentioned quality metrics, showed that the development was more efficient when using TDD. Simulink as a design tool does not restrict any of these approaches, however, the test environment of Simulink significantly hinders the use of TDD.","abstract_has_math":false,"creators":["Adler, Vincent"],"institution":null,"degree_name":null,"degree_level":"H","degree_discipline":null,"degree_department":"Chalmers tekniska högskola / Institutionen för data och informationsteknik","school":null,"contributors":[],"advisors":["Peterson, Lena"],"committee_chairs":[],"committee_members":["Larsson-Edefors, Per"],"year":2020,"date_issued":"2020","date_published":"2020","updated_at":"2026-11-19T03:01:43Z","subjects":["Test-driven development","model-based design","automotive system"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["MPEES"],"render_values":[{"text":"MPEES","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/20.500.12380/302014","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/20.500.12380/302014","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Achalmers%3Aoai%3Aodr.chalmers.se%3A20.500.12380%2F302014","prefix":"oai_dc"},"source_record":{"url":"https://odr.chalmers.se/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aodr.chalmers.se%3A20.500.12380%2F302014","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Larsson-Edefors, Per"]},{"key":"dc:contributor.department","label":"Department","values":["Chalmers tekniska högskola / Institutionen för data och informationsteknik"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Peterson, Lena"]},{"key":"dc:creator","label":"Author","values":["Adler, Vincent"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-11-02T09:26:14Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-11-02T09:26:14Z"]},{"key":"dc:date.issued","label":"Date","values":["2020"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2020"]},{"key":"dc:publisher.program","label":"Dc Publisher Program","values":["Embedded electronic system design (MPEES), MSc"]},{"key":"dc:type.degree","label":"Dc Type Degree","values":["Examensarbete för masterexamen"]},{"key":"thesis:degree_level","label":"Degree Level","values":["H"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Test-driven development","model-based design","automotive system"]},{"key":"dc:subject.uppsok","label":"Dc Subject Uppsok","values":["Technology"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.coursecode","label":"Dc Identifier Coursecode","values":["MPEES"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.12380/302014"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Since the automotive industry uses model-based design and strives towards more effective and qualitative development, this thesis explores the effectiveness of testdriven development with Simulink for development of an automotive system. To this end, a system for an automotive motor installation has been designed using a model-based design tool, Simulink, by alternating between two different development approaches; test-driven development (TDD) and a test-after (TA) approach. The quality of the code generated by these different approaches was evaluated using four metrics to cover different steps of model-based development (identification, semantics, relationships). The metrics used were: 1) Weighted blocks per module, 2) Coupling between modules, 3) Response for a module and 4) Lack of cohesion in blocks. To address the last step of model-based development (implementation), coverage of tests and time spent developing were used as metrics. Trends could be observed showing that TDD improved the quality of larger modules, while TA improved the quality of smaller modules. The time spent on developing the modules, together with the above mentioned quality metrics, showed that the development was more efficient when using TDD. Simulink as a design tool does not restrict any of these approaches, however, the test environment of Simulink significantly hinders the use of TDD."]},{"key":"dc:title","label":"Title","values":["Study on the Efficiency of Test-Driven Development for Automotive Systems using Model-Based Design"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Larsson-Edefors, Per"],"dc:contributor.department":["Chalmers tekniska högskola / Institutionen för data och informationsteknik"],"dc:contributor.supervisor":["Peterson, Lena"],"dc:creator":["Adler, Vincent"],"dc:date.accessioned":["2020-11-02T09:26:14Z"],"dc:date.available":["2020-11-02T09:26:14Z"],"dc:date.issued":["2020"],"dc:date.submitted":["2020"],"dc:description.abstract":["Since the automotive industry uses model-based design and strives towards more effective and qualitative development, this thesis explores the effectiveness of testdriven development with Simulink for development of an automotive system. To this end, a system for an automotive motor installation has been designed using a model-based design tool, Simulink, by alternating between two different development approaches; test-driven development (TDD) and a test-after (TA) approach. The quality of the code generated by these different approaches was evaluated using four metrics to cover different steps of model-based development (identification, semantics, relationships). The metrics used were: 1) Weighted blocks per module, 2) Coupling between modules, 3) Response for a module and 4) Lack of cohesion in blocks. To address the last step of model-based development (implementation), coverage of tests and time spent developing were used as metrics. Trends could be observed showing that TDD improved the quality of larger modules, while TA improved the quality of smaller modules. The time spent on developing the modules, together with the above mentioned quality metrics, showed that the development was more efficient when using TDD. Simulink as a design tool does not restrict any of these approaches, however, the test environment of Simulink significantly hinders the use of TDD."],"dc:identifier.coursecode":["MPEES"],"dc:identifier.uri":["https://hdl.handle.net/20.500.12380/302014"],"dc:language.iso":["eng"],"dc:publisher.program":["Embedded electronic system design (MPEES), MSc"],"dc:subject":["Test-driven development","model-based design","automotive system"],"dc:subject.uppsok":["Technology"],"dc:title":["Study on the Efficiency of Test-Driven Development for Automotive Systems using Model-Based Design"],"dc:type.degree":["Examensarbete för masterexamen"],"others:access_status":["open.access"],"thesis:degree_level":["H"]},"updated_at":"2026-11-19T03:01:43Z"}