torque - automation testing tool for c-c++ on 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

713 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: torque -  Automation Testing Tool for C-C++ on Linux

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

Prepared By :- Jitendra LenkaSenior Software EngineerL&T Integrated Engineering Services (IES)

Page 2: torque -  Automation Testing Tool for C-C++ on 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 -  Automation Testing Tool for C-C++ on 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 -  Automation Testing Tool for C-C++ on 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 -  Automation Testing Tool for C-C++ on Linux

Design Architecture – A Simple Approach

project

include

src

test

Reports

TestScripts

tools

torque.conf

lib

RunTestScripts.sh

Page 6: torque -  Automation Testing Tool for C-C++ on Linux

src

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

Illustration by screenshots as below.

Page 7: torque -  Automation Testing Tool for C-C++ on Linux

include

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

Depiction using screenshot as below.

Page 8: torque -  Automation Testing Tool for C-C++ on Linux

lib

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

Page 9: torque -  Automation Testing Tool for C-C++ on Linux

test

Platform where testscripts are written, compiled, executed.

Page 10: torque -  Automation Testing Tool for C-C++ on Linux

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

Page 11: torque -  Automation Testing Tool for C-C++ on Linux

TestScripts

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

Page 12: torque -  Automation Testing Tool for C-C++ on Linux

TestScripts -How does each module look like..?

Page 13: torque -  Automation Testing Tool for C-C++ on Linux

Scenario of a Test script

Page 14: torque -  Automation Testing Tool for C-C++ on 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 -  Automation Testing Tool for C-C++ on Linux

./RunTestScripts contd…

Second step…

Third step…

Page 16: torque -  Automation Testing Tool for C-C++ on Linux

./RunTestScripts contd…Fourth step…

Fifth step…

Page 17: torque -  Automation Testing Tool for C-C++ on Linux

./RunTestScripts contd…

Sixth step…

Page 18: torque -  Automation Testing Tool for C-C++ on Linux

tools

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

Page 19: torque -  Automation Testing Tool for C-C++ on Linux

Reports

This Directory contains 2 folders.

Page 20: torque -  Automation Testing Tool for C-C++ on Linux

Reports – A Detailed Approach

It encompasses CodeCoverageCompilationLogLogMemCheckStaticAnalysisStatusFiles

Page 21: torque -  Automation Testing Tool for C-C++ on Linux

CodeCoverage

Page 22: torque -  Automation Testing Tool for C-C++ on Linux

CompilationLog

Gives details about the compilation of each test script.

Page 23: torque -  Automation Testing Tool for C-C++ on Linux

log

System Monitoring - ProMonTest

Page 24: torque -  Automation Testing Tool for C-C++ on Linux

Lon Module - LonTest

Page 25: torque -  Automation Testing Tool for C-C++ on Linux

MemCheck

Page 26: torque -  Automation Testing Tool for C-C++ on Linux

StaticAnalysis

Page 27: torque -  Automation Testing Tool for C-C++ on Linux

StatusFiles

System Monitoring - ProMonTest

Page 28: torque -  Automation Testing Tool for C-C++ on Linux

Lon Module - LonTest

Page 29: torque -  Automation Testing Tool for C-C++ on Linux

Thank you all for consistent support