词条 | cxxtest |
释义 | 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. |
随便看 |
百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。