torque Automation Testing Tool for C/C++ in LinuxPrepared By :-Jitendra LenkaSenior Software EngineerL&T Integrated Engineering Services (IES)
History• Why torque : To get availed of all testing functionalities without paying huge money.• Ideas : Utmost use of open source renowned tools such as splint, valgrind and lcov/gcov to compete with other expensive tools in the market.• We did the automation by using shell script.
Introduction• Functional and Regression testing can be accomplished easily.• Static Analysis, Code Coverage and Memory Management are taken care with the help of open source tool such as splint, lcov/gcov and valgrind respectively.
Contents Inside… Design Architecture Structure of TORQUE tool A study on each directory Test Scripts and their execution Significance of tools deployed Generation of Reports.. A Detailed approach
Design Architecture – A Simple Approach include src Reports lib project RunTestScripts.sh test TestScripts tools torque.conf
src It is a folder which contains the source codes of the respective modules. Illustration by screenshots as below.
includeIt is a folder which accommodates header files of therespective modules.Depiction using screenshot as below.
libIt includes library files to support thefunctionality and execution of test scripts.
testPlatform where testscripts are written,compiled, executed.
torque.conf Decides which module has to be compiled, executed.
TestScriptsSegregation into Individual modules withrespect to the generation of Testscripts asshown below..
TestScripts -How does each module look like..?