Issue No. 03 - May/June (2007 vol. 24)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/MS.2007.90
Henrik Gollee , University of Glasgow
Thomas Dohmke , University of Glasgow
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
Henrik Gollee, Thomas Dohmke, "Test-Driven Development of a PID Controller", IEEE Software, vol. 24, no. , pp. 44-50, May/June 2007, doi:10.1109/MS.2007.90