Study on the Efficiency of Test-Driven Development for Automotive Systems using Model-Based Design

dc.contributor.authorAdler, Vincent
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.examinerLarsson-Edefors, Per
dc.contributor.supervisorPeterson, Lena
dc.date.accessioned2020-11-02T09:26:14Z
dc.date.available2020-11-02T09:26:14Z
dc.date.issued2020sv
dc.date.submitted2020
dc.description.abstractSince 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.sv
dc.identifier.coursecodeMPEESsv
dc.identifier.urihttps://hdl.handle.net/20.500.12380/302014
dc.language.isoengsv
dc.setspec.uppsokTechnology
dc.subjectTest-driven developmentsv
dc.subjectmodel-based designsv
dc.subjectautomotive systemsv
dc.titleStudy on the Efficiency of Test-Driven Development for Automotive Systems using Model-Based Designsv
dc.type.degreeExamensarbete för masterexamensv
dc.type.uppsokH
local.programmeEmbedded electronic system design (MPEES), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 20-92 Adler.pdf
Storlek:
2.3 MB
Format:
Adobe Portable Document Format
Beskrivning:

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
1.14 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: