Scenario-Based Testing added to an Existing Development Program

Similar documents
CIS 110: Introduction to Computer Programming. Lecture 2 Decomposition and Static Methods ( 1.4)

The diagram below is only partially complete. Use the terms in the word list to complete the empty boxes. Make dinner

the rules The Goal Get all three of your monkeys around the board and into the Banana Grove before anyone else can!

MAS115: R programming Lecture 2: Pseudocode Lab Class and Technical Material: Matrices, Factors, Data frames, Lists

Learner User Interface (LUI): Developing Themed Graphics to Enhance Your e-learning. Kevin Thorn, AutoZone

Algorithms: The recipe for computation

Duty/Task Crosswalk to ACF Standards

MAT Program Design. College of Engineering Engineering Education Innovation Center

Algorithmic Thinking: Loops and Conditionals

UNCLASSIFIED. Representing Information Exchange Requirements. Version November Ian Bailey

Software Engineering Lifecycles. Controlling Complexity

Table Manner for Kids Web-Based Training (WBT) Storyboard

Sequence Diagrams. Dan Fleck. Coming up: Interaction Diagrams

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Discussion 8A Solutions

MASSACHUSETTS VOCATIONAL TECHNICAL TEACHER TESTING PROGRAM SCOPE OF TEST CODE #11 - CULINARY ARTS WRITTEN EXAM QUESTIONS TIME ALLOWED: 3 HOURS

Grade 10 or equivalent including English 10, Mathematics 10 and Science 10 Preferred: Grade 12

Creative Ceramics and Glass 10. Cake Plate Item # D53 10 Dx2 H. Teabag Holder Item # D /8 Hx4 W. Tumbler Item # D70 4 ¼ Hx2 ½ D

Instructions for Using the DAILY COOK'S SUBSTITUTE MENU

Starting PowerPoint 2007

Lecture Set #14: Algorithms and Design

BETTER TIPS FOR TAPS LIBRARY TECHNOLOGY CONFERENCE 2017 JUNIOR TIDAL WEB SERVICES & MULTIMEDIA LIBRARIAN NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

RECIPES MENU SOFTWARE MENU ENHANCEMENT NUTRITION MODULE

Video-Based Leader s Guide 16 hour

(2 1) What does evaluate to? What does evaluate to? What does evaluate to?

Menu Reference Guide

Certification. For Working Service Providers

Black-box Testing Techniques

Menu Analysis Application Tour Guide for Customers

National Certificate in Hospitality (Basic Cookery) (Level 3)

What s a BA to do with Data? Discover and define standard data elements in business terms

Lab 8: Introduction to Scala 12:00 PM, Mar 14, 2018

COOK (PROFESSIONAL COOK 3)

Activity- and Video-Based Leader s Guide 16 hour (Illinois)

TEAM. Test Execution and Test Management for Numerical Control Software. Best Practice Action IST Deliverable D-3.1

A course entitled. Particle counting to ISO Parts 1& 2

Culino and Culino Combi STATIC & COMBI JACKETED KETTLES

Information Systems Analysis and Design CSC340. XXV. Other Phases

Chapter 1: An Introduction to Computer Science

Qualification Specification. Level 2 Qualifications in Skills for Hospitality and Catering

Architecting Systems-of-Systems for Response

MENU MANAGER HANDBOOK

Software Engineering 2 A practical course in software engineering. Ekkart Kindler

USER-CENTERED DESIGN KRANACK / DESIGN 4

Ideate. Empathize. Prototype. Define. Test. CS:2520 Human-Computer Interaction. Fall 2016.

Advanced Validation Strategies for On-Board Satellite Software in the Galileo IOV Programme

Rule induction. Dr Beatriz de la Iglesia

ELECTRICAL DESIGN PRACTICE NOTE ELECTRICAL SYSTEM REQUIREMENTS

CAFETERIA SUPPLIES (Second Renewal) Staff recommends renewal with Labatt, as shown in attachments.

Blank Menu Templates For Kids

Kitchen Quote Summary July 1, September 30, 2017 Resource Management Services

OO Project Management

OALCF Tasks for the Apprenticeship Goal Path: Prepared for the Project,

UNIT-I Introduction of Object Oriented Modeling

Introduction to Programming paradigms

def order(food): food = food.upper() print( Could I have a big + food + please? ) return fresh + food

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 9 Database Design

User Experience, not Metrics;

Week 9. CS 400 Programming III

Software Architectures. Lecture 6 (part 1)

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1

Specification. Edexcel BTEC Level 1 Award in Home Cooking Skills (QCF) Edexcel BTEC Level 2 in Award in Home Cooking Skills (QCF)

Activity- and Video-Based Leader s Guide 18 hour (New Jersey)

A CONFUSED TESTER IN AGILE WORLD

PRODUCTGUIDE

Subject Evening. 30 th September 2015

Baked Potato Bar, 1:00 Cost: $2. You can purchase a potato after everyone on the list has her potato

ISTQB Advanced Level (CTAL)

Workshop: Modeling Scenarios Using Data. Fiona Charles BCS SIGIST 22-Sept-2009

Adobe Target Analyst Adobe Certified Expert Exam Guide

BCS Specialist Certificate in Service Desk and Incident Management Syllabus

Written Exam Data Warehousing and Data Mining course code:

Date: SAP DIR #: TSB - CP100 HW RELEASE LCD W/ BACKLIGHT

Software Engineering Theory. Lena Buffoni (slides by Kristian Sandahl/Mariam Kamkar) Department of Computer and Information Science

Qualification Title Level. Name Phone Logo.

Using PXI, TestStand, LabVIEW and some ingenuity to create a high throughput solution

Word 2007 Cook Book Objectives

Market basket analysis

Unit 6 - Software Design and Development LESSON 10 DESIGN TOOLS, INPUTS, OUTPUTS, STORYBOARDS

TRAINING COURSE Camp Cooking and Pioneering

The Future of Testing: Continuous Enterprise Testing

Scenarios, Storyboards, Wireframes, Critique. Jon Kolko Professor, Austin Center for Design

2.9 Modularization. Department of CSE,Coimbatore

Certification Requirements Qualification-based HACCP Practitioner Certification Program. Exemplar Global Personnel Certification Programs

The Fundamental Testing Process in Practical or Company environment

Garland ISD PreK Lunch - Cisneros & Parsons - Menu - Nutrition

DLV02.01 Business processes. Study on functional, technical and semantic interoperability requirements for the Single Digital Gateway implementation

"Sleep not when others speak, sit not when others stand, speak not when you should hold your peace, walk not on when others stop.

Verification and Validation. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 22 Slide 1

Adobe Target Analyst Adobe Certified Expert Exam Guide

Advanced Security Tester Course Outline

Why testing and analysis. Software Testing. A framework for software testing. Outline. Software Qualities. Dependability Properties

1 Introduction and overview

Comparison Study of Software Testing Methods and Levels- A Review

31 January 2008 UNITS OF COMPETENCE MATCHED AGAINST LABOUR DIVISIONS

Getting started: 1. Join the wifi network Network: Password:

FIRST ARTICLE INSPECTION

ITC213: STRUCTURED PROGRAMMING. Bhaskar Shrestha National College of Computer Studies Tribhuvan University

Name Date Class Practice A

F e b r u a r y Tech Papers. Tech News. Tech Notes. Tech Support

Software Verification and Validation (VIMMD052) Introduction. Istvan Majzik Budapest University of Technology and Economics

Transcription:

Scenario-Based Testing added to an Existing Development Program GSAW April 1-3, 2008 A. Shaw 1

Presentation Overview Long-term Project with older development methodology New development Methodologies introduced (example included) Benefits of revised Methodology 2

Original Methodology Existing Development Program Long running development project using several stages (iterations) of development and delivery to customer over more than a decade Requirements decomposition methodology: Used System level Spec to Segment level Spec to Software Item (SI) and Hardware Item (HI) level Specs Developed Threads and sub-threads describing how the system operates for specific tasks Developed Task Flows and storyboards for operator interaction Issues with approach SI oriented, system view limited Focus of engineering is on end result, not on interim releases Development staging an add-on, not integral to engineering 3

Original Methodology Approach Requirement Decomposition System Level Spec Segment Level Specs SW & HW Level Specs SW & HW Design Artifacts Additional Engineering Products SW level Threads, Subthreads, Taskflows & Storyboards SW & HW Level Tests Requirements Based Tests Segment Level Tests 4

Original Methodology Results Existing Development Program results: Threads focused on domains Integration&Verification (I&V) thread-based testing focused short set of steps Domain-focused testing System not ready to execute operational activities Minimal system testing performed before the day-in-the-life validation test preparation activities System stability issues and schedule impacts 5

Some Background Information Scenario definitions 6

Scenario-based Testing Definitions Scenario-based testing (SBT) is: Verification of system functionality by executing test scenarios or test cases that are associated with requirements and with system operational flows An analytic means to achieve high confidence that the test program closes on a suite of tests, demonstrations, analyses and inspections that will fully verify the operational system capabilities Scenarios are (*): Based on a story about how the program is used Based on what a stakeholder cares about Credible, i.e. something that probably will happen Defined so that results are easy to evaluate (*) From paper by Cem Kaner, An Introduction to Scenario Testing. June 2003, 7

Scenario-based Testing Purpose of developing Scenarios: Validate the requirements baseline Engineering stage Validate the design artifacts Design stage Verify requirements as artifacts associated with the architecture (using scenarios) Testing stage 8

Scenario Variations Some scenarios may have variations, which represent alternate flows through the scenario, usually associated with error conditions. Candidate variations are identified by examining the threads associated with the requirements and by considering operational experience. Variations are accepted if they are needed to test some of the scenario s requirements or if they exercise the software in a unique way. Variations are not created for multiple simultaneous failures unless there are requirements to deal with such failures. Scenario Variations are usually considered separate test cases of the SBT 9

Engineering Methods Updated to include Scenario Based Tests Scenario definition Define candidate scenarios using requirements baseline and capabilities for each release Make up a list of candidate scenarios based on the delivery plan Make up a list of candidate segment requirements for each scenario Check for overlap between scenarios Choose the best scenario for each requirement, redefining scenarios as needed to produce a set of scenarios that cover all requirements, are of manageable size, and describe the expected use of the system 10

Engineering Methods Updated for Scenario Based Tests Mission executable view the interactions among the architectural functions in the scenario extracted from the segment functional architecture Domain view the interactions among the hardware and software domains in the scenario extracted from the domain architecture Scenario narrative the table of steps that describe the scenario operationally, that can be incorporated into the test plan and expanded into a test case by requirements, by interfaces and by threads 11

Scenario based Test Plan Development Steps Step Identify scenarios Draw scenario diagram Brief scenario diagram Identify additional objectives Elaborate objectives Write narrative scenario Write test plan Review test plan Systems Engineer Systems Engineer Systems Engineer, Verification tester, Software Engineer Systems Engineer, Verification tester Systems Engineer Verification tester Responsibility Chief Systems Engineer, Verification Lead, Chiefs Systems Engineering, Verification tester, Software Engineer 12

Revised Methodology Approach Requirement Decomposition System Level Spec Segment Level Specs SW & HW Level Specs SW & HW Design Artifacts Additional Engineering Products Scenario, MEV, & Domain views Scenario narratives SW level Threads, Subthreads, Taskflows & Storyboards SW & HW Level Tests Scenario Based Tests Segment Level Tests 13

Scenario Based Test Example Bachelor Cook 14

Bachelor Cook Requirements Reqt ID BC1 BC2 BC3 BC4 BC5 BC6 BC7 BC8 BC9 BC10 BC11 BC12 BC13 Requirement Text The Bachelor Cook shall be able to prepare a PBJ. The Bachelor Cook shall be able to prepare canned soup. The Bachelor Cook shall be able to prepare spaghetti. The Bachelor Cook shall be able to prepare hamburger. The Bachelor Cook shall be able to use a cook top. The Bachelor Cook shall be able to use a sharp knife The Bachelor Cook shall be able to clean implements. The Bachelor Cook shall be able to purchase ingredients. The Bachelor Cook shall be able to use a butter knife, spoon, fork and spatula. The Bachelor Cook shall be able to clean the kitchen. The Bachelor Cook shall be able to assess freshness. The Bachelor Cook shall be able to assemble required ingredients. The Bachelor Cook shall be able to prepare variations of core recipes. 15

Bachelor Cook Scenarios Scenario SC1 SC 2 SC 3 SC 4 Test Case SC1.1 SC1.2 SC1.3 SC2.1 SC2.2 SC2.3 SC3.1 SC3.2 SC4.1 SC4.2 SC4.3 Description Prepare PBJ Req ts = BC1, 7, 8, 9, 10,12, 13 PBJ, Successful, smooth peanut butter, grape jelly PBJ, Failure, Missing ingredients - bread PB, Successful, no jelly Prepare Canned Soup - Req ts = BC2, 5, 7, 8, 9, 10,11, 12, 13 Soup, Successful, Noodle Soup, Failure, Burnt Soup, Successful, Tomato with Milk Spaghetti Dinner - Req ts = BC3, 5, 7, 8, 9, 10,12, 13 Spaghetti, Successful, Canned Sauce Spaghetti, Variation, Burger Prepare Hamburger - Req ts = BC4, 5, 6, 7, 8, 9, 10, 11, 12, 13 Hamburger, Successful, Qty=1, Lettuce, Tomato, Onion Hamburger, Successful, Qty=8, Cheese, Ketchup, Pickles Hamburger, Failure, rancid meat 16

Scenario Test Case Requirement Coverage BC8 BC12 BC9 BC1 Successful: BC Eats BC7 BC10 Overlap Note: Requirement BC13 is partial in Test Cases 1.2 and 1.3 Partial 17

Scenario Narrative SC1.1 STEP Expected Results Thread Require ment Interface Purchase Peanut Butter, Jelly and Bread All ingredients purchased Purchase Ingredients BC8 External to store Find Peanut Butter jar, Jelly jar and 2 slices of Bread Cook has 1 jar of PB, 1 jar of jelly and 2 slices of bread Assemble Ingredients BC12 Internal to fridge Spread Peanut butter on one slice of bread Peanut butter spread over 80% of bread slice Use utensils BC9 N/A Spread Jelly on other slice of bread Jelly spread over 80% of other slice Use Utensils N/A Put two slices together with bare bread facing out PBJ sandwich with PB and jelly on inside and bare bread on outside BC1 N/A Clean butter knife with soap and water and dry Knife passes visual test for cleanliness. Clean Implements BC7 Internal to sink Wipe counter with wet dish cloth; rinse cloth in sink Counter passes visual test for cleanliness Clean kitchen BC10 BC eats sandwich Cook full and smiling 18

Conclusions 19

Benefits Adds to the confidence of the program that the delivered System will meet the needs of the program. Uncovers problems in the baseline that were not understood from the existing engineering validates design Uncovers problems in the implementation especially from the operator perspective (operability). Extends beyond verification of individual capabilities to validation of system operability: A better segment test than RBT alone - tests the system as it operates Forces early improvements in system maturity and stability Focuses the development on the system not just individual capabilities 20