请输入您要查询的百科知识:

 

词条 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.

随便看

 

百科全书收录594082条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2024/11/11 11:09:31