torque - aautomation testing tool for c/c++ in linux
DESCRIPTION
torque - automation testing tool for C/C++ application in Linux.TRANSCRIPT
![Page 1: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/1.jpg)
torque Automation Testing Tool for C/C++ in Linux
Prepared By :- Jitendra LenkaSenior Software EngineerL&T Integrated Engineering Services (IES)
![Page 2: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/2.jpg)
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.
![Page 3: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/3.jpg)
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.
![Page 4: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/4.jpg)
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
![Page 5: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/5.jpg)
Design Architecture – A Simple Approach
project
include
src
test
Reports
TestScripts
tools
torque.conf
lib
RunTestScripts.sh
![Page 6: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/6.jpg)
src
It is a folder which contains the source codes of the respective modules.
Illustration by screenshots as below.
![Page 7: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/7.jpg)
include
It is a folder which accommodates header files of the respective modules.
Depiction using screenshot as below.
![Page 8: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/8.jpg)
lib
It includes library files to support the functionality and execution of test scripts.
![Page 9: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/9.jpg)
test
Platform where testscripts are written, compiled, executed.
![Page 10: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/10.jpg)
torque.confDecides which module has to be compiled, executed.
![Page 11: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/11.jpg)
TestScripts
Segregation into Individual modules with respect to the generation of Testscripts as shown below..
![Page 12: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/12.jpg)
TestScripts -How does each module look like..?
![Page 13: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/13.jpg)
Scenario of a Test script
![Page 14: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/14.jpg)
./RunTestScriptsThis executable enables all written test scripts to get executed. Once the test scripts get executed, reports, log, code coverage and related folders will be updated.
First step…
![Page 15: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/15.jpg)
./RunTestScripts contd…
Second step…
Third step…
![Page 16: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/16.jpg)
./RunTestScripts contd…Fourth step…
Fifth step…
![Page 17: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/17.jpg)
./RunTestScripts contd…
Sixth step…
![Page 18: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/18.jpg)
tools
Driving force of TORQUE tool.Includes supporting shell scripts for the proper functioning of the tool.
![Page 19: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/19.jpg)
Reports
This Directory contains 2 folders.
![Page 20: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/20.jpg)
Reports – A Detailed Approach
It encompasses CodeCoverageCompilationLogLogMemCheckStaticAnalysisStatusFiles
![Page 21: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/21.jpg)
CodeCoverage
![Page 22: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/22.jpg)
CompilationLog
Gives details about the compilation of each test script.
![Page 23: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/23.jpg)
log
System Monitoring - ProMonTest
![Page 24: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/24.jpg)
Lon Module - LonTest
![Page 25: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/25.jpg)
MemCheck
![Page 26: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/26.jpg)
StaticAnalysis
![Page 27: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/27.jpg)
StatusFiles
System Monitoring - ProMonTest
![Page 28: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/28.jpg)
Lon Module - LonTest
![Page 29: torque - Aautomation Testing Tool for C/C++ in Linux](https://reader036.vdocument.in/reader036/viewer/2022062319/55614edfd8b42a8a7d8b4e05/html5/thumbnails/29.jpg)
Thank you all for consistent support