Test plans CSCI102 - Systems ITCS905 - Systems MCS9102 - Systems.

Slides:



Advertisements
Similar presentations
Software Testing. Quality is Hard to Pin Down Concise, clear definition is elusive Not easily quantifiable Many things to many people You'll know it when.
Advertisements

Test process essentials Riitta Viitamäki,
Lecture 8: Testing, Verification and Validation
SOFTWARE TESTING. Software Testing Principles Types of software tests Test planning Test Development Test Execution and Reporting Test tools and Methods.
Requirements Specification and Management
Software Quality Assurance Plan
1 SOFTWARE TESTING Przygotował: Marcin Lubawski. 2 Testing Process AnalyseDesignMaintainBuildTestInstal Software testing strategies Verification Validation.
Chapter 9 Testing the System, part 2. Testing  Unit testing White (glass) box Code walkthroughs and inspections  Integration testing Bottom-up Top-down.
IMSE Week 18 White Box or Structural Testing Reading:Sommerville (4th edition) ch 22 orPressman (4th edition) ch 16.
Software Testing. “Software and Cathedrals are much the same: First we build them, then we pray!!!” -Sam Redwine, Jr.
Software Testing Name: Madam Currie Course: Swen5431 Semester: Summer 2K.
Software Testing Prasad G.
Chapter 11: Testing The dynamic verification of the behavior of a program on a finite set of test cases, suitable selected from the usually infinite execution.
Types and Techniques of Software Testing
BY RAJESWARI S SOFTWARE TESTING. INTRODUCTION Software testing is the process of testing the software product. Effective software testing will contribute.
Software Development, Programming, Testing & Implementation.
OHT 4.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
BY: GARIMA GUPTA MCA FINAL YEAR WHAT IS SOFTWARE TESTING ? SOFTWARE TESTING IS THE PROCESS OF EXECUTING PROGRAMS OR SYSTEM WITH THE INTENT.
How To Apply Quality Management
Extreme Programming Software Development Written by Sanjay Kumar.
Testing. What is Testing? Definition: exercising a program under controlled conditions and verifying the results Purpose is to detect program defects.
Categories of Testing.
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
1. Topics to be discussed Introduction Objectives Testing Life Cycle Verification Vs Validation Testing Methodology Testing Levels 2.
TESTING.
CMSC 345 Fall 2000 Unit Testing. The testing process.
Software Testing.
ITEC224 Database Programming
Software Testing Testing principles. Testing Testing involves operation of a system or application under controlled conditions & evaluating the results.
FCS - AAO - DM COMPE/SE/ISE 492 Senior Project 2 System/Software Test Documentation (STD) System/Software Test Documentation (STD)
System Development Life Cycle. The Cycle When creating software, hardware, or any kind of product you will go through several stages, we define these.
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Testing E001 Access to Computing: Programming. 2 Introduction This presentation is designed to show you the importance of testing, and how it is used.
Testing Methods Carl Smith National Certificate Year 2 – Unit 4.
Software Construction Lecture 18 Software Testing.
Systems Development Life Cycle
Software Testing Process By: M. Muzaffar Hameed.
Software Engineering 2004 Jyrki Nummenmaa 1 BACKGROUND There is no way to generally test programs exhaustively (that is, going through all execution.
Black Box Testing : The technique of testing without having any knowledge of the interior workings of the application is Black Box testing. The tester.
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Software Quality Assurance and Testing Fazal Rehman Shamil.
 Software Testing Software Testing  Characteristics of Testable Software Characteristics of Testable Software  A Testing Life Cycle A Testing Life.
Dynamic Testing.
1 test10b Software Testing Necessary to measure and certify quality in software.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
1 Phase Testing. Janice Regan, For each group of units Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine.
What is a software? Computer Software, or just Software, is the collection of computer programs and related data that provide the instructions telling.
Verification vs. Validation Verification: "Are we building the product right?" The software should conform to its specification.The software should conform.
1 Software Testing. 2 What is Software Testing ? Testing is a verification and validation activity that is performed by executing program code.
Software Testing Strategies for building test group
Software Testing.
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
How To Apply Quality Management
Software Engineering (CSI 321)
Highcliffe ICT Department
Rekayasa Perangkat Lunak Part-13
SOFTWARE TESTING OVERVIEW
Software engineering – 1
The life cycle.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Introduction to Software Testing
Lecture 09:Software Testing
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
Software Verification and Validation
Software Verification and Validation
Summary.
Software Verification and Validation
Testing, Inspection, Walkthrough
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Presentation transcript:

Test plans CSCI102 - Systems ITCS905 - Systems MCS Systems

2 Why Do We Need a Test Plan? A test plan isn't to test general stuff or stuff that comes to mind on the day –To ensure that the program does what it is meant to –To ensure that all of the program is tested –To ensure that all requirements have been met However, testing can only determine the presence of defects –Just like inductive proofs vs deductive proofs –You would need to use proofs of correctness to show ‘absence’ of defects

3 Some Test Methods Black - Box Testing White - Box Testing Gray - Box Testing

4 Black - Box Testing Program Inputs determined by requirements Actual results compared to expected results

5 Black - Box Testing Also known as functional testing The tester views the program as a black – box –Only know what they put in and what they get out They –Don’t see the code of the program –Only know the inputs and what the expected outcomes should be and not how the program arrives at those outputs Effectively the tester will be using the public interface of the software

6 Black - Box Testing Advantages –User centred testing –Tester doesn’t need to know how to code –Removal of bias due to autonomy of tester and designer –Test cases can be developed in combination with specifications and design Disadvantages –Redundancy if designer tests –Test cases can be difficult to design

7 White - Box Testing The tester examines the internal structure of the program –Can test at any and every point in the final program Also known as –Structural testing –Glass box –Clear box –Open box

8 White - Box Testing Usually applied to small units Uses specific knowledge of the code to examine outputs –Accurate only if the tester knows what the program is supposed to do –Tests to see if the program deviates from original goal

9 White - Box Testing Advantages –More detail than looking at the output from a program –Tests the actual structure of the program Better than black box testing on individual small modules Can discover “undocumented features” –e.g. non-documented illegal options supplied by a disreputable programmer Disadvantages –Doesn’t account for errors caused by omission

10 Gray - Box Testing Black Box testing can be combined with knowledge of internal coding to confirm functions and expected results Two approaches –Both use only the public interface Analyse code to target boundaries –Artefacts of the implementation –Not implied by the specification May use internal queries to check the results Combines the advantages of black and white box testing

11 Some Other Ways of Testing the Program Desk-checking –Mental check of the logic of the program Walkthroughs –code review by other programmers –source code logic is traced manually by a group with a small set of test cases State of program variables is manually monitored Used to analyse programmer's logic and assumptions Debugging –detect, locate, and correct mistakes in the program Testing –The program for the new system must be tested under a variety of conditions

12 Test Strategies A series of different tests that will fully test program May include –System Test/Black Box –Performance Test –Security Test –Automated Test –Stress and Volume Test –Recovery Test –Documentation Test –Beta Test –User Acceptance Test

13 Contents of a Test Plan Cover Sheet Executive Summary Table of Contents Introduction –Description of this Document Purpose of Report Scope Main Sections –Related Documents Remember the reader may NOT have seen previous reports –Schedule and Milestones

14 Contents of a Test Plan Resource Requirements –Hardware –Software Test Tools –Staffing Responsibilities Training

15 Contents of a Test Plan Test Strategies –Features to be tested Boundaries to be tested Justification Values used to test Expected results –Features not to be tested

16 Contents of a Test Plan Test Deliverables –Documents –Test cases –Requirements validation –etc

17 Contents of a Test Plan Dependencies/Risks Entrance/Exit Criteria –At what point will you suspend testing –Why Report Conclusion