Browse > Article

A Study of Unit Testing Frameworks on Open Source C++  

Heo, Seok-Yeol (Dept. of Applied IT and Eng., Pusan Nat'l University)
Sohn, Young-Ho (Dept. of Computer Eng., Yeungnam University)
Publication Information
Abstract
Unit testing is proved to be vital for a successful software development process. Modern languages, such as Python, Java and C#, have a great support and tools for unit testing. But when it comes to C++, there are a big number of C++ frameworks available [List], and it becomes hard to make a choice of unit testing framework to use. This paper presents a survey of open source C++ unit testing frameworks by dividing open source C++ unit testing frameworks into two groups: frameworks with an integrated test runner and frameworks with a separate test runner.
Keywords
Unit test; Open Source; CppUnit; Cfix; Boost.Test;
Citations & Related Records
연도 인용수 순위
  • Reference
1 Beck, K., Embracing Change with Extreme Programming, Computer 32 (10): 70-77, 1999   DOI
2 Beck, K., Beedle, M., van Bennekum, A. et al, Manifesto for Agile Software Development, 2001
3 Beck, K., Extreme Programming Explained: Embrace Change, Addison-Wesley, 1999
4 Beck, K., Test Driven Development: By Example, Addison-Wesley Professional, 2002
5 Beck, K., Firesmith, D. G., Simple Smalltalk Testing, Kent Beck's Guide to Better Smalltalk, chapter 30, Cambridge University Press, December, 1998.
6 Jeffries, R., Test Driven Development: A Practical Guide, Prentice Hall, 2003.
7 Koss, R., Lang, J., Test Driven Development in C, C/C++Users Journal, October, 2002.
8 Blees, M., Simplified Unit Testing for Native C++ Applications, MSDN Magazine, February, 2008
9 Massol, V., Husted, T., JUnit in Action, Manning Publications, 2003.
10 Madden, B., Using CppUnit to Implement Unit Testing, Game Programming Gems 6, Charles River Media, 2006.
11 Llopis, N., Exploring the C++ Unit Testing Framework Jungle, http://gamesfromwithin.com/exploring-the-c-unit-testing-framework-jungle
12 Proposed Draft Technical Report on C++ Library Extensions
13 The Chromium projects, http://www.chromium.org/
14 The LLVM compiler infrastructure, http://llvm.org/
15 Protocol buffers - Google's data interchange format, http://code.google.com/p/protobuf/
16 Osherove, R., The Art of Unit Testing: With Examples in .Net, Manning Publications, 2009.
17 List of unit testing frameworks, http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C