torque - Aautomation Testing Tool for C/C++ in Linux

Post on 24-May-2015

651 views 4 download

Tags:

description

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

transcript

torque Automation Testing Tool for C/C++ in Linux

Prepared 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

project

include

src

test

Reports

TestScripts

tools

torque.conf

lib

RunTestScripts.sh

src

It is a folder which contains the source codes of the respective modules.

Illustration by screenshots as below.

include

It is a folder which accommodates header files of the respective modules.

Depiction using screenshot as below.

lib

It includes library files to support the functionality and execution of test scripts.

test

Platform where testscripts are written, compiled, executed.

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

TestScripts

Segregation into Individual modules with respect to the generation of Testscripts as shown below..

TestScripts -How does each module look like..?

Scenario of a Test script

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

./RunTestScripts contd…

Second step…

Third step…

./RunTestScripts contd…Fourth step…

Fifth step…

./RunTestScripts contd…

Sixth step…

tools

Driving force of TORQUE tool.Includes supporting shell scripts for the proper functioning of the tool.

Reports

This Directory contains 2 folders.

Reports – A Detailed Approach

It encompasses CodeCoverageCompilationLogLogMemCheckStaticAnalysisStatusFiles

CodeCoverage

CompilationLog

Gives details about the compilation of each test script.

log

System Monitoring - ProMonTest

Lon Module - LonTest

MemCheck

StaticAnalysis

StatusFiles

System Monitoring - ProMonTest

Lon Module - LonTest

Thank you all for consistent support