Highcliffe ICT Department

Slides:



Advertisements
Similar presentations
Testing and Quality Assurance
Advertisements

2.2 Validation & Verification
1 Software Engineering Lecture 11 Software Testing.
Software Failure: Reasons Incorrect, missing, impossible requirements * Requirement validation. Incorrect specification * Specification verification. Faulty.
Informatics 43 – May 5, Restatement of goals Want to verify software’s correctness  Need to test  Need to decide on test cases  No set of test.
Informatics 43 – April 30, What is a test case? An input to a system, and the correct output. An “input” may be complex. Example: – What is an input.
Importance of testing Difference between Errors and Faults The purpose of test data Importance of: – Testing – Test Plans.
COMP2001 Testing. Aims of Testing To achieve a correct system producing correct results with a variety of input data.
PRE-PROGRAMMING PHASE
Software Development, Programming, Testing & Implementation.
28/08/2015SJF L31 F21SF Software Engineering Foundations ASSUMPTIONS AND TESTING Monica Farrow EM G30 Material available on Vision.
By the end of this session you should be able to...
Testing Strategies COMP1 – Section 4.2. Testing. Aims At the end of this lesson you will be able to:  Explain different testing strategies  Design and.
1 AQA ICT AS Level © Nelson Thornes 2008 Testing a solution.
Chapter 8: Systems analysis and design
Test plans CSCI102 - Systems ITCS905 - Systems MCS Systems.
Programming Translators.
CMSC 345 Fall 2000 Unit Testing. The testing process.
Mastering Char to ASCII AND DOING MORE RELATED STRING MANIPULATION Why VB.Net ?  The Language resembles Pseudocode - good for teaching and learning fundamentals.
G042 - Lecture 16 Testing Your Spreadsheet Mr C Johnston ICT Teacher
Systems Development Lifecycle Testing and Documentation.
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.
Systems Life Cycle. Know the elements of the system that are created Understand the need for thorough testing Be able to describe the different tests.
The Software Development Process
GCSE ICT Systems Analysis. Systems analysis Systems analysis is the application of analytical processes to the planning, design and implementation of.
Data Verification and Validation
1 AQA ICT AS Level © Nelson Thornes 2008 Good quality data and information Data terms.
Data Validation.
AS Level ICT Data entry: Creating validation checks.
Intermediate 2 Computing Unit 2 - Software Development.
Data Structure Introduction Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2010.
Software Testing Mehwish Shafiq. Testing Testing is carried out to validate and verify the piece developed in order to give user a confidence to use reliable.
5.01 Understand Different Types of Programming Errors
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Testing.
Validation & Verification Today will look at: The difference between accuracy and validity Explaining sources of errors and how they could be overcome.
GCSE ICT 3 rd Edition The system life cycle 18 The system life cycle is a series of stages that are worked through during the development of a new information.
1 The System life cycle 16 The system life cycle is a series of stages that are worked through during the development of a new information system. A lot.
1 Phase Testing. Janice Regan, For each group of units Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
COMPUTER PROGRAMMING I SUMMER Understand Different Types of Programming Errors.
Informatics 43 – May 3, Restatement of goals Want to verify software’s correctness  Need to test  Need to decide on test cases  No set of test.
Testing i. explain the importance of system testing and installation planning;
Chapter 6 Testing and running a solution. Errors X Three types Syntax Logic Run-time.
Testing 1. Aims To understand the purpose of testing To understand the different test strategies To explore the four types of test data Have a understanding.
Testing and Debugging UCT Department of Computer Science Computer Science 1015F Hussein Suleman March 2009.
Software Testing. Software Quality Assurance Overarching term Time consuming (40% to 90% of dev effort) Includes –Verification: Building the product right,
Trace Tables In today’s lesson we will look at:
5.01 Understand Different Types of Programming Errors
Testing Tutorial 7.
Black Box Testing PPT Sources: Code Complete, 2nd Ed., Steve McConnell
7 - Programming 7P, Q, R - Testing.
Testing a Solution.
Testing Key Revision Points.
Systems Life Cycle: Testing
1. You work for the University of Tawara and are going to create a database to analyse data about student courses and accommodation. Dates are to be stored.
1. Look at the data in the files J13STUDENT. TXT, J13COURSE
Little work is accurate
5.01 Understand Different Types of Programming Errors
G063 - Testing.
Coding Concepts (Standards and Testing)
Computer Science Testing.
Informatics 43 – April 28, 2016.
Problem Solving Skill Area 305.1
Software Development Process
CSE 1020:Software Development
Review of Previous Lesson
Unit 5 – Testing The mark scheme
CHAPTER 6 Testing and Debugging.
Presentation transcript:

Highcliffe ICT Department Testing Highcliffe ICT Department

Why test? However carefully you program There are likely to be errors The more code = more chance/numbers of errors Good program layout = improves debugging Testing helps find errors

Testing strategies DRY RUN BLACK BOX WHITE BOX

Testing strategies DRY RUN BLACK BOX WHITE BOX Used to test an algorithm or code without use of a computer. Programmer uses test data to check code is correct. Normally follows one routine/section. BLACK BOX WHITE BOX

Testing strategies DRY RUN BLACK BOX WHITE BOX Also known as functional testing. Carried out without looking at program code. Test data used to check expected results against actual results. WHITE BOX

Testing strategies DRY RUN BLACK BOX WHITE BOX Also known as structural testing. Tests devised to check each possible path through the program code.

Selecting test data Test data must be chosen carefully Use inputs users are likely to make Make the process thorough but manageable Select data before you code if possible

Normal data Basic, expected data that program copes with. Within any boundaries eg: range = 1-100 - normal would be 2-98 Needs to allow you to work out expected result accurately

Boundary data Value where processing is different for values above & below eg: 1-100 - boundary is -1,0,1 & 99, 100, 101 eg: Free delivery over £100 Boundary test = £100, £100.01 & £101

Erroneous data Purposeful use of incorrect data to test validation works. eg: date format allowed 14/03/2009 - test with: 14th March 2009 14/3/09 03/14/2009

Evidence of testing Always present test data and expected results. Use a table for the test plan Give a reference to a screenshot showing result Screenshot should show: Data entered, result including error messages.