test coverage in a jiffy v0 9
TRANSCRIPT
INDIUM SOFTWAREAn Independent Software Testing Firm
Test Coverage in a Jiffy
“Business Assurance through Quality Assurance”
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
2
Agenda
Storyboard
Core Scenarios Identification - Guidelines
• Development in a hurry• GUI• Around Dense Code
Focus Areas
Metrics
Case Study
Benefits
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
3
Storyboard
Change in Deadline
Task: Maximum coverage Team Size: 2 Available Time:
1 day
Initial ScopeTask: Execute 166 test cases Team Size: 2 Required Time:
3 days
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
4
Core Scenarios Identification - Guidelines
Safety impact
Financial impact
Most important features
End to end scenarios
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
5
Focus Areas
Following are areas to concentrate on, once sensitive scenarios have been identified:
Around areas developed in a hurry
GUI important to the customer
Where the code is complex
Development in a hurry
GUI issues
Around dense code
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
6
Development in a hurry - Problems
• Reduced unit / integration testing
• Compromise on requirementsLack of Time
• Last minute code changesLast Minute
Requirements
• Actual differs from the expectedCommunication
Failures
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
7
Development in a hurry – Best PracticesDevelop
ment in a hurry
GUI issues
Around dens
e cod
e
Manage time- Plan your task based on priority- Do the most important first
Be part of all teams - Ensure you are made part of every life cycle- Be cross trained at least to a certain extent- Build a close relationship with the BAs
Plan data- Prepare clever data
Freeze requirements- Get a sign off on requirements from the business team
Manage time Be part of all teams Plan data Freeze
requirements
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
8
GUI - ProblemsDevelopment in a hurry
GUI issues
Around dense
code
• Bad readability• Unwanted contentMisalignment
• Affects the content and overall look and feel of the applicationResolution
• For instance, the footer note will not be updated
Incorrect Information
• Alignment issuesMultiple
Languages
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
9
GUI – Best PracticesDevelopm
ent in a hurry
GUI issues
Around dens
e code
Be updated
- Be updated with basic technology to help get to the root cause of GUI issues
Analyze changes
- Judge what kind of feature introduction would lead to an GUI issue
Use realistic input data
- Negative testing is good, but draw a line.
Be updated Analyse changes Use realistic input data
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
10
Around Dense Code - ProblemsDevelopment in a
hurry
GUI issues
Around dense
code
• Inconsistent functional behavior
Poor Design / Coding Practice
• Logical branching issuesComplex
Algorithm
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
11
Around Dense Code – Best PracticesDevelop
ment in a hurry
GUI issues
Around dens
e cod
e
Work with the developer
- Quick meetings with the developers to understand the logic behind the scene
- Use testing techniques to figure out the shortest path
Use logical diagrams
- Diagrams and flow charts always help test
Be a little code / database savvy
- Know the basics of programming
- Explain with root cause while logging defects
Work with the developer
Use logical diagrams
Be a little code / database savvy
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
12
Metrics
Process Defects GUI Defects
Code based Defects
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
13
Case study
Safety Impact Financial Impact Most important scenarios
End to end scenarios
0
10
20
30
40
50
60
1
4
6
10
13
2
16
2
1
28
Around Dense Code GUI Issues Develpoment in a hurry
Test
Cas
es
1. Identified scenarios under each of the 4 core categories.2. A subset of test cases were picked around the 3 focus areas.
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
14
Case study - Data
Scenario Original Around Dense Code
GUI Issues Development in a hurry Total
PickedSafety Impact App Startup / Installation 2 0 0 1 1CommApp 1 0 0 0 0Financial Impact Costing 36 7 2 4 13Discounts 7 3 0 0 3Taxing 7 3 0 0 3Most important scenarios Contract Job 2 1 0 0 1Order Entry 15 1 1 6 8End to end scenarios Finders 4 0 0 0 0Inventory Control 15 6 1 0 7LX Mobile 5 0 0 2 2Maintenance and Setup 43 3 24 4 30NAGS 8 3 0 0 3Printing 3 0 1 0 1Purchasing 5 2 0 1 3Reports 3 0 1 1 2Scheduling 3 1 0 0 1
Setting and Configuration 7 1 1 2 4
Total 166 31 31 21 82
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
15
Benefits
Delivery Excellence• Go Live• Test Coverage – Low compromise• Mitigates Application Failure Risk• Ensuring Minimal Defect Leakage
A Tester’s Skill:
A Quality Product
+
Adapt to Situations
Test Coverage in a Jiffy - A Promised First Aid Health Check!
© 2014 Indium Software
ENHANCING SOFTWARE QUALITY
16
Thank You
USA: [email protected]
EMEA & APAC: [email protected]@indiumsoft.com
INDIA: [email protected]
SunnyvaleSuite 210, 1250 Oakmead ParkwaySunnyvale, CA – 94085.Phone: +1(408) 501-8844Fax: +1(408) 501-8808
Atlanta Crown Office Suites1870 The Exchange, Suite 100 Atlanta, GA 30339Phone: +1 (678) 608-0809, +1(770) 989-7302
New DelhiF-1/5 Okhla Industrial Area Phase-I, New Delhi – 110 020.Phone: +91-11-6613 0400
BengaluruSRS Plaza, No. 246, 2nd & 3rd Floor13th Cross, Indira Nagar 2nd StageBengaluru – 560 038.Phone: +91-80-4914 7777
ChennaiVDS House41, 2nd Floor, Cathedral RoadChennai – 600 086.Phone: +91-44-2811 6330Fax: +91-44-4210 4033