cxxtest

基本信息

Introduction

CxxTest is a JUnit/CppUnit/xUnit-likeframework for C++.Its advantages over existing alternatives are that it:

Doesn't require RTTI

Doesn't require membertemplate functions
Doesn't require exceptionhandling
Doesn't require any external libraries (including memory management, file/console I/O, graphics libraries)
Is distributed entirely as a set of header files.
This makes it extremely portable and usable.
In other words, CxxTest is designed to be as portable as possible. Its only requirements are a reasonably modern C++ compiler and either Perl orPython. However, when advanced featuresare supportedin your environment, CxxTest can use them, e.g. catch unhandled exceptions and even display a GUI.
In addition, CxxTest is slightly easier to use than the C++ alternatives, since you don't need to "register" your tests. It also features some extras like a richer set of assertions and even supportfor a "to do" list
CxxTest is available under the GNU Lesser General Public License.

相關詞條

相關搜尋

熱門詞條

聯絡我們