January 8th, 2003 — Unit Testing — Asim Jalis

Published: Wed 01 January 2003
By nwcpp

In 2003.

Location

6464 185th Avenue NE
Redmond, WA 98052

Abstract

The talk will focus on C/C++ unit testing and test-driven development using the CuTest library. CuTest is simple, portable, and follows the JUnit look and feel in its output and API. The topics covered will include:

  • Introduction to Test Driven Development (TDD)
  • Demo of using TDD to write C/C++ code
  • Comparison of CuTest with other C/C++ unit testing frameworks
  • Some testing ideas and techniques
  • How to test exhaustively using tables
  • How to leverage traditional assert()’s with unit tests
  • How to unit test system calls and GUI code
  • Open discussion on testing ideas and problems

Bio

Asim Jalis is a software engineer at Hewlett-Packard Company. He is currently working on web services management software, which is primarily in C# and also uses C/C++, Java and Perl.   He is deeply interested in test driven development and ways of making this easier and more effective. He is the author of CuTest, a unit testing framework for C, and Test::Extreme, a unit testing framework for Perl.