📄 readme
字号:
//-------------------------------------------------------------------------//// 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 + -