EuroSTAR Software Testing Conference 2010 presentation on Open Source Tools for Test Management by C.V, Narayanan. See more at: http://conference.eurostarsoftwaretesting.com/past-presentations/
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
&
GOVERNANCEInception
DesignExecutionMaintenance
TEST MANAGEMENT PROCESS
2
4. Introduction âPurpose Challenges
Prioritization of requirements
Extent of Test coverage
Cost Vs Quality
Aligning to Release Plan
Environment control Solution Streamlining the processIntegrated tracking across life cycleOptimized Testing based on constraintsAdoption of Open Source toolsBenefits:
â˘Helps in managing changing requirements
â˘Repeatable process
â˘Effective release cycles and bug tracking
3
5. Methodology â[Waterfall / Iterative] Requirements Management
â˘Functional and NFR Base lining
â˘E2E scenarios and Acceptance scenarios
â˘Define Test StrategyPlanning
â˘Baseline productivity
â˘Effort estimation (FP, WBS, Test Points)
â˘Identify dependencies of Test Cases, Identify critical path
â˘Determine Acceptance and exit criteria
â˘Define Roles and responsibilitiesDesign
â˘Setup Test Environment
â˘Test Cases, Test Data Preparation
â˘Test Scripts mapping to Test Data
â˘Requirements Traceability / Automation CoverageExecute
â˘Smoke / Sanity Test
â˘Execute Test Cases / Test Scripts for each Test Cycle
â˘Defect Management / Root Cause Analysis
â˘Generate Test report for each Test CycleMaintenance & 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 Report4
6. Test Tools Integration Architecture
ENTERPRISE SERVICE BUS (ESB)
Requirement Management FrameworkUnit and Build Testing FrameworkAutomation Testing FrameworkPerformance Testing FrameworkSecurity Testing FrameworkSOA Testing FrameworkDefect TrackingSONNET TEST DATABASE ENGINESONNET REPORTING ENGINE
â˘Dashboard view of results
â˘Result AnalysisSONNET RISK BASED ASSESSMENT FRAMEWORK SONNET TRANSFORMATION ENGINESonnet Test Data Repository
5
7. Deployment View
ENTERPRISE SERVICE BUS
Test Integration Framework (TIF)
-Use case
-ScenariosSONNET TEST DATABASE ENGINESONNET REPORTING ENGINE
â˘Dashboard view of results
â˘Result Analysis Transformation Engine Pk: Req ID Requirement ManagementTool: TestLinkTest ManagementTool: TestLink
-Test case
-Test Scenarios
-Test Conditions
-RTM Pk: Test Case IDFk: Req ID Unit & Build ManagementTool: Junit, HTTPUnitTest Data ManagementTool: GenerateData, Excel
SOA Testing
Tool: SoapUI
Regression
Testing
Tool: SeleniumPerformance TestingTool: WebLOAD, JMeter
Security Testing
Tool: Paros Proxy
-Test Conditions
-Performance Pk: Test Case ID Defect ManagementTool: Bugzilla/ Mantis
-Reviews
-Functional / Non functional Pk: Defect IDFk: Req ID
-Service Identification
-Request construction
-Response validation
-Code Coverage
-Method Signature
-Build & Deployment
-Smoke Test Pk: Test Suite IDFk: Req IDPk: Unit / Build ID
-Functional Automation
-Business Process Testing
-Risk Based Testing Fk: Test Case ID
-Critical Business Scenario / Transactions
-Load Pattern
Fk: Test Case ID
-Thread Modeling
-Security Scanning
-Report Fk: Test Case ID
Reporting Engine6
8. Deployment ViewSonnetTESTTest ManagementRequirements ManagementTest Case ManagementTest Data ManagementUnit Testing and Build SetupSOA TestingFunctional AutomationSecurity TestingPerformance Testing
Defect managementDashboard
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
Dashboard
Inbuilt
7
9. Requirements and Test Case Management FrameworkNEEDSFEATURESUSE CASESSCENARIOSTEST CASESRequirement 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
â˘Import / Export through XML
8
11. Test Data Management Framework
Test Data repositoryDevelopmentTesting
StagingProductionApproach:
-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
GeneratorData[Open Source]
Excel [Customized]
Expected Output
â˘Centralized Test Data repository for the following
ď§Unit Testing, Functional / Regression Testing, Performance Testing etc.
ď§Test Environmentslike 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 testassets]
Benefits
â˘Test Data is availableon demand
â˘Versioned enabling to roll back whenever required
â˘Scripts available to refresh / create / update on need basis
SOAUIPerformance 10
13. Unit Testing & Build Setup -BenefitsReusable Unit Test Case for Security, Covers security threats from OWASPDash 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 & DeploymentFramework 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 FrameworkDash Board (reSonate) Functional Unit TestingPerformance Unit Testing
Sonnet Unit Testing Framework âBenefits
12
14. SOA Testing FrameworkPresentation Layer / Application Level Business Layer
Service Layer / Component Layer
Database/ External Application / Internal ApplicationBrowser Web2.0 UIThick Client
POSSonnet Automation Test Framework Based on (QTP, SOAPUI)
Process / Integration Testing FrameworkComponent Level Testing FrameworkSystem Level Testing FrameworkKeyword-driven Functional & Regression Testing Framework
SOA Governance QoS(Security, Performance and Availability) 13
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
Benefits
Stabilize the Functionality Testing early
14
16. Functional Automation Framework
Strategy
Description
Tool
Selenium
Expected Output
â˘Customized keywords for Functional Automation
â˘Regression Test Cases selection
â˘Test scripts mapping to Test Casesand 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 SonnetReporting 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)
15
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 IDmapping 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
â˘Security Testing across SDLC
â˘Hack resilient application
17
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.
Benefits
Help to mix and match the load
18
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
19
21. Test Management âTake Away
â˘Tools Integration Architecture
â˘Option for Open Source and branded tools
â˘Functional and NFR Testing Integration
â˘Risk-based Testing to optimisethe COQ
â˘Integrated view supporting Unit and Integrated testing
â˘TCO Reduction
20
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.