cxxtest

王朝百科·作者佚名  2010-01-21  
宽屏版  字体: |||超大  

Introduction

CxxTest is a JUnit/CppUnit/xUnit-like framework for C++.

Its advantages over existing alternatives are that it:

Doesn't require RTTI

Doesn't require member template functions

Doesn't require exception handling

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 or Python. However, when advanced features are supported in 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 support for a "to do" list

CxxTest is available under the GNU Lesser General Public License.

 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝百科 版权所有