By Rick Clements cle@cypress.com Software Testing 101 By Rick Clements cle@cypress.com.

Slides:



Advertisements
Similar presentations
Using Metrics to Reduce Cost of Re-work Dwight Lamppert Senior Test Manager Franklin Templeton.
Advertisements

© Copyright 2006 FPT Software 1 © FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 How to work in Fsoft project Authors: KienNT.
Advanced Piloting Cruise Plot.
Chapter 8 Software Prototyping.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Document #07-2I RXQ Customer Enrollment Using a Registration Agent (RA) Process Flow Diagram (Move-In) (mod 7/25 & clean-up 8/20) Customer Supplier.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Making the System Operational
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
1 Discreteness and the Welfare Cost of Labour Supply Tax Distortions Keshab Bhattarai University of Hull and John Whalley Universities of Warwick and Western.
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Week 2 The Object-Oriented Approach to Requirements
Configuration management
© © QA Software Pty Ltd All rights reserved 1 Project Information Management Tools Inspection and Defects Management System for Projects By QA Software.
Software Testing Strategies
Software testing.
Testing Workflow Purpose
ABC Technology Project
EU market situation for eggs and poultry Management Committee 20 October 2011.
2 |SharePoint Saturday New York City
Green Eggs and Ham.
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
VOORBLAD.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Lecture 8: Testing, Verification and Validation
Chapter 10 Software Testing
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Executional Architecture
Global Analysis and Distributed Systems Software Architecture Lecture # 5-6.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
DB analyzer utility An overview 1. DB Analyzer An application used to track discrepancies and other reports in Sanchay Post Constantly updated by SDC.
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
Copyright 2001 Advanced Strategies, Inc. 1 Data Bridging An Overview Prepared for DIGIT By Advanced Strategies, Inc.
Januar MDMDFSSMDMDFSSS
© Paradigm Publishing Inc Chapter 10 Information Systems.
Chapter 10: The Traditional Approach to Design
Analyzing Genes and Genomes
Systems Analysis and Design in a Changing World, Fifth Edition
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
12 January 2009SDS batch generation, distribution and web interface 1 ExESS IT tool for SDS batch generation, distribution and web interface ExESS IT tool.
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Chapter 13 Web Page Design Studio
1 Chapter 13 Nuclear Magnetic Resonance Spectroscopy.
Energy Generation in Mitochondria and Chlorplasts
Presentation transcript:

By Rick Clements cle@cypress.com Software Testing 101 By Rick Clements cle@cypress.com

Overview Terminology Requirements Configuration control Test plan Test cases Test procedures Bug tracking & ship decision After the testing

Terminology QA vs. QC Quality assurance (QA) - The management of quality. The encouragement of best practices. QA is about preventing defects. Quality control (QC) - Validation and verification of the product. This includes reviews, inspections and testing.

Terminology Test Documents Test plan (or validation plan) - The plan describing the general approach, the people required, equipment required and schedule for testing and other validation activities Test cases - Specific data used to test the product. Test procedures - The procedures to follow in testing the product. These may be manual or automated.

Terminology Types of Tests Black box testing - Testing by looking at the requirements to develop test cases. System level testing is often black box testing. White box testing - Testing by looking at the structure of the program to develop test cases. White box testing often occurs in unit testing.

Terminology Levels of Testing Unit testing - The process of running small parts of the software. The design teams often handle unit testing. Integration testing or Interface testing - The testing of pre-tested modules and hardware to determine that they work together. System testing - The testing of the entire product to see that it meets its requirements. This occurs after the product has been integrated.

Software Development Process Software Implementation & Debug Software Design Define Requirements Software Test Test Implementation & Debug Test Design Software Release

Requirements Why are they important? How are they documented? What’s important? What if you don’t have any requirements?

Why Are Requirements Important? How do the designers know what to build? How can you test that it was built correctly? When you disagree, who’s right?

Documenting Requirements Data sheet Requirements specification Functional specification Data base Traceability matrix

What’s Important They exist They are unambiguous and testable Requirements What’s Important They exist They are unambiguous and testable Cover all of the customers (not just final customer) They are under configuration control

No Documented Requirements Ask the project manager Ask the marketing representative Has anything been sent to the customer? Ask a domain expert What are the designers building? Write them down

Configuration Control Why is it a testing issue? What to track Build & Version Number

Why Is It A Testing Issue? Configuration Control Why Is It A Testing Issue? Ship the version that was tested A single test system failing Modules accidentally reverting to older version Re-create software and tests

What To Track Requirements Software Hardware Tests Configuration Control What To Track Requirements Software Hardware Tests

Version & Build Number Simple to generate Configuration Control Version & Build Number Simple to generate Unique for each build or change Readily visible and validated for correctness

Test Plan What will be tested and not tested? What approach will be taken? What resources are needed? Which people are needed? Schedule

Test Cases Test boundary conditions System interfaces Where have other errors been found? What will the users do most often? What is the most serious if it fails? Usability What is unique to your product's environment?

Boundary Conditions Values at and away from the boundaries Test Cases Boundary Conditions Values at and away from the boundaries Valid and invalid values Both numeric values and strings Minimum-1, minimum, maximum, maximum+1, a good middle value

Where Have Errors Been Found? Test Cases Where Have Errors Been Found? Errors tend to cluster Can a common error be fixed? Would a code review be useful?

Usability Often over looked First to see software outside of design Test Cases Usability Often over looked First to see software outside of design The interface makes sense if you know the design Need to know your users

Interfaces User interface Interfaces between software modules Test Cases Interfaces User interface Interfaces between software modules Interfaces to other programs Hardware / software interfaces

What Will Users Do Most Often? Test Cases What Will Users Do Most Often? Frequently encountered errors impact the user more Test heavily used areas more heavily Less used areas can’t be ignored

What Failures Are Most Serious? Test Cases What Failures Are Most Serious? Areas data could be lost Errors with a large financial impact Errors that could injure someone

Unique to Web Applications Test Cases Unique to Web Applications Versions of browsers Different operating systems Server capacity Multiple servers - one fails?

Unique to GUI Based Application Test Cases Unique to GUI Based Application System configuration changes Size of the screen Number of colors available Default font type and size

Unique to Database Applications Test Cases Unique to Database Applications Compatible with existing data Testing on a copy of real data Server capacity

Unique to Embedded Applications Test Cases Unique to Embedded Applications Can multiple simultaneous stimulus be handled? Are hardware failures handled correctly? Running out of supplies Components breaking or degrading Communications errors between components Can temperature changes cause the system to behave differently?

Bug Tracking & Ship Decision Bug states Bug Information Is the software ready?

Bug Tracking & Ship Decision

Bug Tracking & Ship Decision

After the Testing Known problems and solutions Test report Defects not fixed Shorten customer service leaning curve Test report Tuned to the audience Introduction & conclusion Major defects What was run on which versions What tests couldn’t be run