By Topic

Automated Software Testing for MATLAB

Sign In

Cookies must be enabled to login.After enabling cookies , please use refresh or reload or ctrl+f5 on the browser for the login options.

Formats Non-Member Member
$33 $13
Learn how you can qualify for the best price for this item!
Become an IEEE Member or Subscribe to
IEEE Xplore for exclusive pricing!
close button

puzzle piece

IEEE membership options for an individual and IEEE Xplore subscriptions for an organization offer the most affordable access to essential journal articles, conference papers, standards, eBooks, and eLearning courses.

Learn more about:

IEEE membership

IEEE Xplore subscriptions

1 Author(s)
Eddins, S.L. ; The MathWorks, Inc., Natick

This paper describes the basic mechanics of automated unit testing for a general scientific and engineering audience. Using MATLAB xUnit, a unit test framework for MATLAB, the paper illustrates how to write and run tests, construct test cases, organize test files, and deal with the special issue of floating-point representation and arithmetic. The paper discusses the framework's design and architecture, including how various xUnit principles have been implemented and how procedural test-writing has been accommodated. The paper concludes with a brief introduction to test-driven development.

Published in:

Computing in Science & Engineering  (Volume:PP ,  Issue: 99 )