Test-Driven Development of a PID Controller

  • Authors:
  • Thomas Dohmke;Henrik Gollee

  • Affiliations:
  • University of Glasgow;University of Glasgow

  • Venue:
  • IEEE Software
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.