• No results found

Th3 - Open Source Tools for Test Management

N/A
N/A
Protected

Academic year: 2021

Share "Th3 - Open Source Tools for Test Management"

Copied!
22
0
0

Loading.... (view fulltext now)

Full text

(1)

Th3 - Open Source Tools for Test Management

(2)

Agenda

• Introduction

• Methodology

• Architectural View

• Test Management Best Practices

• Take Away

(3)

Test Management - Introduction

Test Management is a method of organizing Test Assets – Test Requirements, Test Plans,

Test Cases, Test Scripts, Test Data, Requirements Traceability and Test Results to enable

optimized Test Delivery

TEST STRATEGY

&

GOVERNANCE

Inception

Design

Execution

Maintenance

(4)

Introduction – Purpose

Chall

eng

es

Prioritization of

requirements

Extent of Test coverage

Cost Vs Quality

Aligning to Release Plan

Environment control

Solution

Streamlining the

process

Integrated tracking

across life cycle

Optimized Testing

based on constraints

Adoption of Open

Source tools

Benefits:

• Helps in managing changing requirements

• Repeatable process

(5)

Methodology – [Waterfall / Iterative]

Requirements Management

•Functional and NFR Base lining

•E2E scenarios and Acceptance scenarios •Define Test Strategy

Planning

•Baseline productivity

•Effort estimation (FP, WBS, Test Points)

•Identify dependencies of Test Cases, Identify critical path •Determine Acceptance and exit criteria

•Define Roles and responsibilities Design

•Setup Test Environment

•Test Cases, Test Data Preparation •Test Scripts mapping to Test Data

•Requirements Traceability / Automation Coverage Execute

•Smoke / Sanity Test

•Execute Test Cases / Test Scripts for each Test Cycle •Defect Management / Root Cause Analysis

•Generate Test report for each Test Cycle Maintenance & Release •Versioning of Test Artifacts

•Updates to Test Cases / Test Scripts for the changes / Enhancements / New Requirement

•User Acceptance Test

• Understanding document • Test Strategy • Test Plan • Test Artifacts • Traceability Matrix • Test Report • Defects List / Root

cause analysis

• Test Artifacts • UAT Report

(6)

Test Tools Integration Architecture

ENTERPRISE SERVICE BUS (ESB)

Requirement Management Framework

Unit and Build Testing Framework Automation Testing Framework Performance Testing Framework Security Testing Framework SOA Testing Framework Defect Tracking

SONNET TEST

DATABASE ENGINE

SONNET REPORTING ENGINE

• Dashboard view of results • Result Analysis

SONNET RISK BASED ASSESSMENT FRAMEWORK

SONNET TRANSFORMATION ENGINE

Sonnet Test Data Repository

(7)

Deployment View

ENTERPRISE SERVICE BUS

Test Integration Framework (TIF) -Use case

-Scenarios

SONNET TEST DATABASE ENGINE

SONNET REPORTING ENGINE

• Dashboard view of results • Result Analysis Transformation Engine Pk : R e q ID Requirement Management Tool: TestLink Test Management Tool: TestLink -Test case -Test Scenarios -Test Conditions -RTM Pk : T est C ase ID Fk : R e q ID

Unit & Build Management Tool: Junit,

HTTPUnit Test Data Management

Tool: GenerateData, Excel SOA Testing Tool: SoapUI Regression Testing Tool: Selenium Performance Testing Tool: WebLOAD, JMeter Security Testing Tool: Paros Proxy

-Test Conditions -Performance Pk : T e st C ase ID Defect Management Tool: Bugzilla / Mantis -Reviews -Functional / Non functional Pk : D ef e ct ID Fk : R e q ID -Service Identification -Request construction -Response validation -Code Coverage -Method Signature -Build & Deployment -Smoke Test P k: T est Suite ID Fk : R eq ID Pk : Uni t / B ui ld ID -Functional Automation -Business Process Testing -Risk Based Testing

Fk : T e st C ase ID

-Critical Business Scenario / Transactions -Load Pattern Fk : T e st C ase ID -Thread Modeling -Security Scanning -Report Fk : T e st C ase ID Reporting Engine

(8)

Deployment View

SonnetTEST

Test

Management

Requirements

Management

Test Case

Management

Test Data

Management

Unit Testing

and Build

Setup

SOA Testing

Functional

Automation

Security

Testing

Performance

Testing

Defect

management

Dashboard

Framework Components Open Source tools

Requirements

Management

Test Link

Test Case

management

Test Link

Test Data management

GenerateData,

Excel

(customized)

Unit Testing and Build setup

HttpUnit,

Jwebunit, Junit,

JunitPerf

SOA Testing

SOAP UI

Automation Testing

Selenium

Security Testing

Paros Proxy

Performance Testing

Jmeter

Defect Tracking

Bugzilla / Mantis

(9)

Requirements and Test Case Management Framework

NEEDS FEATURES

USE CASES

SCENARIOS

TEST CASES

Requirement Management Process

Strategy

Description

Tool

TestLink [Open Source]

Expected

Output

• Centralized repository for Requirements and Test management • Requirement Hierarchy

• Requirements mapping to Test Cases for better coverage

Integration

Process

• Test Management for traceability • Defect Management for stability • Dashboard for monitoring

[Requirement ID is the primary key for linking other test assets]

Benefits

• Collect and organize your requirements

• Track specific information about individual tests

• Customize Test Link to fit your requirements and processes. • Improved user management (editable)

• Attachments • Enhanced reports

(10)

Risk-Based Testing

Transformation

Engine

Requirement

Management System

Defect Management

System

Dashboard

Release Notes

Management

Algorithm

Reports

(11)

Test Data Management Framework

Test Data

repository

Development

Testing

Staging

Production

Approach:

- Data Profiling for all environments - Masking of confidential information - Data sampling technique used to slice the

production data

- Standard template for data requests including for change requests

Strategy

Description

Tool

Generator Data [Open Source]

Excel [Customized]

Expected Output

• Centralized Test Data repository for the following  Unit Testing, Functional / Regression Testing,

Performance Testing etc.

 Test Environments like Development, Testing, UAT, Production etc.

• Coverage includes new requirements, change requests / enhancements

Integration Process

• Requirements Management for traceability • Test management for mapping

• Defect Management for defect simulation • Dashboard for Reporting

[Requirement ID is the primary key for linking other test assets]

Benefits • Test Data is available on demand

• Versioned enabling to roll back whenever required • Scripts available to refresh / create / update on need

basis

SO

A

UI

P

er

for

ma

n

ce

(12)

Unit Testing & Build Setup Framework

Strategy

Description

Tool Suite of Open Source tools like HttpUnit, Jwebunit, Junit, JunitPerf

Expected Output

Unit Testing for different types of Testing like Functional, Security and Performance.

Integration Process

The Test Results of the various Unit Testing frameworks are sent to the Sonnet Transformation Engine which in turn gets consolidated in the Sonnet Reporting Engine and displayed in Dash Board view.

(13)

Unit Testing & Build Setup - Benefits

Reusable Unit Test Case for

Security, Covers security

threats from OWASP

Dash Board view providing

information on Code Quality,

Unit Testing coverage on-going

basis, alert notification

Unit Testing framework is

extended to provide

complete end-to-end Build

Framework providing, code

analysis, Unit Testing &

Deployment

Framework provides various

standards, Guideline,

Checklists to implement Unit

Testing in an optimum way.

Framework provides feature to verify functionality at Unit level

Support to Test Performance

as part of Unit Testing,

provides time taken at

Method level and helps to

identify bottlenecks early in

phase of Development

Security Testing

Best Practices

End-to-End Build

Framework

Dash Board (reSonate)

Functional Unit Testing

Performance Unit Testing

Sonnet Unit Testing

Framework –Benefits

(14)

SOA Testing Framework

Presentation Layer / Application Level

Business Layer

Service Layer / Component Layer

Database/ External Application / Internal

Application

Browser Web2.0 UI Thick Client POS

Sonnet Automation Test Framework

Based on (QTP, SOAPUI)

\

Process / Integration

Testing Framework

Component Level

Testing Framework

System Level Testing

Framework

Keyword-driven

Functional & Regression

Testing Framework

SOA

G

ov

e

rna

n

ce

QoS

(S

ec

urity, Perf

o

rmanc

e

and A

va

ilabili

ty)

(15)

SOA Testing Framework

Strategy

Description

Tool

SOAPUI

Expected

Output

• Regression, Unit, Interoperability, Security, Governance and Integration Testing of Web services

• Ensuring the quality of service of Web Services Integration

Process

The results of the SOA Testing will be exported to the Sonnet Transformation engine which in turn will be displayed in the dashboard of the Sonnet reporting engine

(16)

Functional Automation Framework

Strategy

Description

Tool Selenium

Expected Output

• Customized keywords for Functional Automation • Regression Test Cases selection

• Test scripts mapping to Test Cases and in turn to Requirements

Integration Process

• Scripts / component mapping to Test Cases for coverage • Defect Management for re-executing Test scripts

• Test Results exported to Sonnet Reporting Engine for Risk-based Assessment / Testing

Benefits • Reusability of Test Scripts for Smoke & Sanity Test • Execution of Test Scripts across browsers and version

Includes executing scripts on different staging environment • Auto Configuration settings makes it drive independent.

Hence easy to carry and maintain

• Test Data file facilitates execution of same Test Case with different sets of Data (multiple Iteration)

(17)

Security Testing Framework

Product

Requirements

Functional

Design

Technical

Design

Development /

Implementation

Testing

Release /

Deployment

Security

Requirements

Document

Architectural Risk

Analysis Guidelines

Security Gates

OWASP & PCI Threat Modeling

Manual and Tool-based testing

Test Report

Secure Coding

Checklists /

Guidelines

Secure SDLC

Sonata Accelerator

(18)

Security Testing Framework

Strategy

Description

Tool Paros Proxy

Expected Output

• Threat Modeling of Application • Secure Code review

• Security assessment of the application Integration

Process

• Requirement ID mapping to security requirements

• Vulnerabilities identified get consolidated in Sonnet Reporting Engine and a Dash Board view of the threats is displayed

Benefits • Security Testing is in compliance with well known standards like OWASP,PCI/DSS,WASC and CWE/SANS

(19)

Performance Testing

Strategy

Description

Tool

Jmeter

Expected

Output

• Set Goals and System boundaries

• Define Services/Components and possible outcomes

• Select Metrics

• List Parameters

• Select Factors to Study

• Select Evaluation Technique

• Select Workload

• Design Tests

• Run, Analyze and Interpret data

• Present Results

Integration

Process

• The results of the Performance Testing will be exported to the Sonnet

Transformation engine which in turn will be displayed in the Dash Board of the

Sonnet reporting engine.

(20)

Sonnet Reporting Engine

Centralized report for the following

• Single view of the overall QA

• Requirements Traceability to Test Cases and in turn to automation Test Scripts

• Dash Board with functional and non-functional Testing details

• Day / Build-wise Test Design and execution count

• Weekly comparison / progress of Test Design and execution

• Categorization of defects based on build, severity / priority, requirements

• Defect Trends across multiple releases

(21)

Test Management – Take Away

• Tools Integration Architecture

• Option for Open Source and branded tools

• Functional and NFR Testing Integration

• Risk-based Testing to optimise the COQ

• Integrated view supporting Unit and Integrated testing

• TCO Reduction

(22)

Thank you for attending this session.

Please fill out an evaluation form and place

it in the box located at the back of the room.

References

Related documents

Line 7 starts my channel element with a title element with the name of the issue, and a link element to the issue file.. The rest of the elements are items, sometimes

WIPO-USA Summer School on Designs and the Interface with Intellectual Property Rights (IPRs) (Patents, Trademarks, and Copyright).

Calibration of Kinect-type 3D sensors is naturally split into two parts: identification of parameters of sensor cam- eras and identification of parameters of depth measure-

The coverage rules can be used in a number of scenarios: to evaluate the completeness of a given test database in relation to a query, to assist the development of new test cases,

Although all the respondents (24 companies) realized the importance of bench- marking as a methodology for improving performance at the company level, the benchmarking application

This result contradicts the results obtained by previous studies in which trait helpfulness was significantly and positively associated with helpful behavior on the THHT (Saleem

It would, therefore, be natural for developing countries to make their willingness to accept disciplines on government procurement depend on future negotiations on market access

locus of control diartikan sebagai kepercayaan individu mengenai keberhasilan atau kegagalan yang diperoleh, merupakan hasil dari kemampuan dan usaha pada