⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 CxxTester是一个用于C++代码的通用测试框。它支持测试库系统、有一套方法的对象文件、甚至单行C++源(即所有用C++接口的东西)。解释程序的前端使你能够在不需要重新编译代码的情况下修改和扩大测
💻
字号:
//-------------------------------------------------------------------------////           Description of the files in this distribution         DEC2002 ////-------------------------------------------------------------------------//README                  this fileHISTORY                 the modifications and versions of cxxtesterlib/cxxlib.a            core of the testframework implementation (vers. 1.55B)lib/cxxtester.a         attaches testdriver to the testframework (vers. 1.55B)include/CxxTester.h     primary include file for testdriver implementationsinclude/Parse.h         secondary include fileinclude/ATree.h         secondary include fileinclude/DataMap.h       secondary include fileinclude/Graphic.h       secondary include filesample1/TestDriver.cc   first example for the implementation of a testdriver sample1/MathFuncs.txt   corresponding testscriptsample2/TestDriver.cc   example for dealing with arrays and structs sample2/ArrStructs.txt  corresponding testscript sample3/TestDriver.cc   example for dealing with global variables sample3/Globals.txt     corresponding testscript sample4/TestDriver.cc   example for testing with graphic output sample4/Graphics.txt    corresponding testscript sample5/TestDriver.cc   example for interactive testing sample5/TestHanoi.txt   corresponding testscript bin/CxxViewer           optional graphic frontend for CxxTester (vers. 1.55B)                        OSF/Motif is linked static//-------------------------------------------------------------------------////                        Some hints for startup                           ////-------------------------------------------------------------------------//(Assuming g++ is the used compiler)1) Compilation of the testdriver in directory "sample1":              cd sample1        g++ -I ../include -c TestDriver.cc2) Creation of the CxxTester in directory "sample1":        g++ -o CxxTester TestDriver.o ../lib/cxxtester.a ../lib/cxxlib.a3) Execution of a local testsession in directory "sample1":        CxxTester TestMath.txt         (out.txt should be the result)4) Remote testsession:        A) start of CxxTester in directory "sample1": CxxTester -p 6500           (this port number is only an example)        B) start of CxxViewer and connection with CxxTester           (use menu of CxxViewer: Settings->Remote....RemoteOn)        C) load of script TestMath.txt and activation of run button           (selection of a testcase identifier forces singlestep execution)5) The "sample4" directory contains more complex TestDriver examples    (menu of CxxViewer: Settings->Show.... is for activation of graphics) 6) The "sample5" demo contains interactive tests with mouse and keypad7) The modification of sample testdrivers & testscripts is a good startup 8) For more documentation see:  www.cxxtester.onlinehome.de   For remaining questions:     cxxtester@onlinehome.de

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -