Session-Based Exploratory Session-Based Exploratory TestingWith a - - PDF document

session based exploratory session based exploratory
SMART_READER_LITE
LIVE PREVIEW

Session-Based Exploratory Session-Based Exploratory TestingWith a - - PDF document

T19 Concurrent Session Thursday 10/25/2007 3:00 PM JUMP TO: Biographical Information The Presentation Session-Based Exploratory Session-Based Exploratory TestingWith a Twist TestingWith a Twist Presented by: Brenda Lee, Parallax,


slide-1
SLIDE 1

T19

Concurrent Session

Thursday 10/25/2007 3:00 PM JUMP TO: Biographical Information The Presentation

Session-Based Exploratory Session-Based Exploratory Testing—With a Twist Testing—With a Twist

Presented by: Brenda Lee, Parallax, Inc.

Presented at: The International Conference on Software Testing Analysis and Review October 22-26, 2007; Anaheim, CA, USA 330 Corporate Way, Suite 300 , Orange Park, FL 32043 888-268-8770 904-278-0524 sqeinfo@sqe.com www.sqe.com

slide-2
SLIDE 2

Br Brenda Lee enda Lee

Brenda Lee is a Senior Analyst with Parallax, Inc., in Albuquerque, New Mexico, where she is on a multi-year contract to Sandia National Labs as a System Test Lead and Requirements Analyst. She has over 15 years of experience in the software industry. Her experience includes Usability Testing, User Interface Design, and Technical Writing for companies such as IBM, Sensormatic Electronics, and Tyco Fire & Security. She received her Bachelor's Degree in Psychology from West Texas State University in 1987, and her Master's Degree in Psychology from New Mexico State University in 1991.

slide-3
SLIDE 3

Session-Based Exploratory Testing— with a Twist

Brenda S. Lee

Parallax, I nc.

(a wholly-owned subsidiary of Energy Solutions)

slide-4
SLIDE 4

Agenda

  • System Test Charter Highlights
  • Introduction to Session-Based Exploratory

Testing

  • Project Overview
  • Modifications made to the technique
  • Test Preparation/Execution
  • Comparison of Techniques
  • Lessons Learned
  • Conclusions / Summary
slide-5
SLIDE 5

Our System Test Charter

  • Parallax provides system test services to

Sandia National Labs

  • Independent evaluators of the system
  • Find defects prior to release
  • Characterize the behavior of the system
  • Formalized and repeatable testing
slide-6
SLIDE 6

STARWest 2006

  • Attended with my manager
  • Participated in the following tutorials:

– “How to Break Software” – “Just in Time Testing”

  • Introduced to Session-Based Exploratory

Testing (SBET) “We should try this sometime.” “I s it repeatable?”

slide-7
SLIDE 7

What is Session-Based Exploratory Testing?

  • Developed by James Bach & Jonathan Bach
  • Consists of:

– Charter Statement

  • Area of exploration

– Executed by pairs of testers

  • Application user
  • Test session scribe

– Designated session time

slide-8
SLIDE 8

Project Overview

  • Web-based Asset Management system

– Planned to replace a legacy system – Capabilities: Asset Management, Equipment Maintenance, and Inventory

  • System-Level Requirements signed in

March 2005

  • 1st release completed in Spring 2006
slide-9
SLIDE 9

Project Overview-continued

  • November/ December 2006

– Maintenance function under development – Sandia’s customer requested change in priorities

  • New priority: I nventory Functionality

– Required to conduct a critical inventory

  • Deploy I nventory function by 1Q2007
slide-10
SLIDE 10

Project Risks

  • Non-negotiable delivery date
  • No time to develop formalized procedures
  • If development slipped…

– Impacts system test cycle

  • No time to fix issues
  • Known problems in production system
  • Could system test be completed in 2 weeks?
slide-11
SLIDE 11

The Opportunity

  • Non-negotiable delivery date
  • Dynamic state of the application design
  • Time invested in scripted procedures—

for different functionality

  • “Emerging Requirements” for user roles and data

visibility

Was this our opportunity to try Session-Based Exploratory Testing?

slide-12
SLIDE 12

Obtaining Management Approval

  • Testing could be completed in 2 weeks if…

– SBET was the primary test method – Minimal regression testing

  • How will the team learn the technique?

– Hold SBET Workshop

  • How will we prove traceability to the

requirements?

slide-13
SLIDE 13

Here’s the twist…

  • Modify SBET Charters to….

– I nclude relevant requirements

  • Provides traceability

– Provide sample test cases

  • Gave testers ideas about testing
  • Helped track test case execution
slide-14
SLIDE 14

Sample Test Charter

slide-15
SLIDE 15

Test Preparations

  • Early January: Wrote proposed test charters
  • Late-January: Conducted SBET Workshop
  • Mid-February: Held test team planning session

– Reviewed Charters – Identified pairs to execute each charter – Explained dependencies between tests

  • March 2, 2007: System test started
  • March 12, 2007: System test ended
slide-16
SLIDE 16

Test Execution

  • Test Cycle: 7 business days

– 14 planned charters – 3 charters added – Regression tests

  • 45 requirements evaluated
  • 217 test cases executed
  • 15 issues identified

Sandia’s customer said: “This had to be the

shortest system test cycle ever.”

slide-17
SLIDE 17

Comparison of Test Methods

Test Method / Area of Analysis Formalized Procedures SBET Planning

2 months

1 month Execution

28 days

7 days

  • Req. Validated

41/60

41/ 45 Test Cases (Pass/ Total)

82/116 (est.)

193/ 217 I ssues Logged

10

15 Testers Required 4

7

High Level Summary

5 days later

2 days later

slide-18
SLIDE 18

System Deployment

  • Delivery date was met
  • New functions in use days after system test
  • $9 Million inventory was executed

– Reconciled to Five Dollars

  • Team recognized for accomplishments
  • SBET is a valuable in our environment
slide-19
SLIDE 19

Lessons Learned

  • 1. Limit the scope of charters
  • 2. Make the pass/fail criteria obvious
  • 3. Conduct timely debriefing for sessions
  • 4. Use standardized test summary templates
  • 5. Trust testers to use good judgment
  • 6. Trust the method
slide-20
SLIDE 20

The Future

  • SBET used on another project
  • I ntend to use SBET on more projects
  • Question: Regression Tests and SBET?

– Use same charters for regression tests – Write procedures from session notes – Combination of both

slide-21
SLIDE 21

Conclusions About SBET

  • Useful in traditional development environments
  • Provides broad characterization
  • Repeatable due to detailed session notes
  • Effective at finding issues with the system
  • Modifications addressed traceability needs
slide-22
SLIDE 22

Summary

  • Apply what you learn at conferences
  • Modify a technique to satisfy internal needs
  • Share what you learn with others
slide-23
SLIDE 23

Acknowledgements

  • Management & Colleagues in Dept. 6453 at

Sandia National Labs

  • Parallax Colleagues in Albuquerque, NM &

Germantown, MD

  • James Bach & Jon Bach
  • Robert Sabourin, “Just In Time Testing”

tutorial

  • Lee Copeland and SQE
  • My husband, Michael Lee
slide-24
SLIDE 24

Questions & Answers

THANK YOU!

bslee@sandia.gov