Issue No.03 - May/June (2007 vol.24)
Thomas Dohmke , University of Glasgow
Henrik Gollee , University of Glasgow
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/MS.2007.90
With test-driven development, developers don't write new code until an automated test has failed, and duplicate functions, tests, or code fragments are always removed. TDD can lead to better-designed, higher-quality systems. slUnit combines the features of the xUnit testing frameworks and the Simulink graphical programming language to apply TDD to control-system design. Development of a controller for a simplified vehicle system illustrates this approach. This article is part of a special issue on test-driven development.
graphical environments, process control, test design, testing strategies, testing tools
Thomas Dohmke, Henrik Gollee, "Test-Driven Development of a PID Controller", IEEE Software, vol.24, no. 3, pp. 44-50, May/June 2007, doi:10.1109/MS.2007.90