torque - aautomation testing tool for c/c++ in linux

29
torque Automation Testing Tool for C/C++ in Linux Prepared By :- Jitendra Lenka Senior Software Engineer L&T Integrated Engineering Services (IES)

Upload: jitendra-lenka

Post on 24-May-2015

651 views

Category:

Education


4 download

DESCRIPTION

torque - automation testing tool for C/C++ application in Linux.

TRANSCRIPT

Page 1: torque - Aautomation Testing Tool for C/C++ in Linux

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

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

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

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

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

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

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

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

test

Platform where testscripts are written, compiled, executed.

Page 10: torque - Aautomation Testing Tool for C/C++ in Linux

torque.confDecides which module has to be compiled, executed.

Page 11: torque - Aautomation Testing Tool for C/C++ in Linux

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

TestScripts -How does each module look like..?

Page 13: torque - Aautomation Testing Tool for C/C++ in Linux

Scenario of a Test script

Page 14: torque - Aautomation Testing Tool for C/C++ in Linux

./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

./RunTestScripts contd…

Second step…

Third step…

Page 16: torque - Aautomation Testing Tool for C/C++ in Linux

./RunTestScripts contd…Fourth step…

Fifth step…

Page 17: torque - Aautomation Testing Tool for C/C++ in Linux

./RunTestScripts contd…

Sixth step…

Page 18: torque - Aautomation Testing Tool for C/C++ in Linux

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

Reports

This Directory contains 2 folders.

Page 20: torque - Aautomation Testing Tool for C/C++ in Linux

Reports – A Detailed Approach

It encompasses CodeCoverageCompilationLogLogMemCheckStaticAnalysisStatusFiles

Page 21: torque - Aautomation Testing Tool for C/C++ in Linux

CodeCoverage

Page 22: torque - Aautomation Testing Tool for C/C++ in Linux

CompilationLog

Gives details about the compilation of each test script.

Page 23: torque - Aautomation Testing Tool for C/C++ in Linux

log

System Monitoring - ProMonTest

Page 24: torque - Aautomation Testing Tool for C/C++ in Linux

Lon Module - LonTest

Page 25: torque - Aautomation Testing Tool for C/C++ in Linux

MemCheck

Page 26: torque - Aautomation Testing Tool for C/C++ in Linux

StaticAnalysis

Page 27: torque - Aautomation Testing Tool for C/C++ in Linux

StatusFiles

System Monitoring - ProMonTest

Page 28: torque - Aautomation Testing Tool for C/C++ in Linux

Lon Module - LonTest

Page 29: torque - Aautomation Testing Tool for C/C++ in Linux

Thank you all for consistent support