VCE IT Theory Slideshows by Mark Kelly study design Test Data

Slides:



Advertisements
Similar presentations
VCE SD Theory Slideshows By Mark Kelly Vceit.com Debugging Techniques.
Advertisements

VCE IT Theory Slideshows By Mark Kelly Vceit.com Problem Solving Methodology 4 EVALUATION.
VCE IT Theory Slideshows - ITA By Mark Kelly Vceit.com Entity Relationship Diagrams (ERD)
VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com Power Websites CMS and CSS.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Naming Conventions for solution elements.
USER DOCUMENTATION (Part of the development phase of the PSM) Mark Kelly
IT Applications Theory Slideshows By Mark Kelly Vceit.com Legislation: © OPYRIGHT.
IT Applications Theory Slideshows Data Flow Diagrams (DFD) & Context diagrams By Mark Kelly McKinnon Secondary College Vceit.com IT Applications Theory.
IT Applications Theory Slideshows By Mark Kelly vceit.com Database Design Tools Version 2.
VCE IT Theory Slideshows
IT Applications Theory Slideshows By Mark Kelly Vceit.com Yep – another exciting theory lesson coming up!
IT Applications Theory Slideshows By Mark Kelly Vceit.com WEBSITE DESIGN TOOLS.
IT Applications Theory Slideshows By Mark Kelly Vceit.com Types and contents of On-screen user documentation.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Practices that cause conflict.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Websites & Data.
VCE IT Theory Slideshows
VCE IT Theory Slideshows By Mark Kelly Vceit.com Characteristics of efficient and effective solutions.
IT Theory Slideshows ITA, SD, IT11 By Mark Kelly Vceit.com Project Management Overview.
VCE IT Theory Slideshows By Mark Kelly vceit.com Data Types 1 a.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Testing Network Security.
IT Applications Theory Slideshows By Mark Kelly Vceit.com Last modified : 6 Dec 2013 Databases II: Structure, naming, data types, data formats.
IT Applications Theory Slideshows By Mark Kelly Vceit.com Privacy Laws.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Problem Solving Methodology 3 Development.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Problem Solving Methodology 1 Analysis.
VCE IT Theory Slideshows By Mark Kelly Vceit.com Websites & Data.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows By Mark Kelly vceit.com Version 2 – updated for 2016 Data Types 1 a.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin © Scott Adams.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows by Mark Kelly study design By Mark Kelly, vceit.com, Begin.
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows
Equivalence partitioning
VCE IT Theory Slideshows – ITI Updated for 2016
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows
IT Applications Theory Slideshows
Descriptive Statistics
IT Applications Theory Slideshows
VCE IT Theory Slideshows by Mark Kelly study design
IT Applications Theory Slideshows
Guess What’s Behind the Box
Having Fun with Gantt Version 1.2 (Dec 2017) Mark Kelly Vceit.com.
VCE IT Theory Slideshows by Mark Kelly study design
VCE IT Theory Slideshows by Mark Kelly study design
VCE IT Theory Slideshows by Mark Kelly study design
VCE IT Theory Slideshows by Mark Kelly study design
IT Applications Theory Slideshows
VCE IT Theory Slideshows
Types of RESEARCH VCE PSYCHOLOGY Presented by Kristy Kendall
VCE IT Theory Slideshows
Guess What’s Behind the Box
VCE IT Theory Slideshows
VCE IT Theory Slideshows Updated for 2016
VCE IT Theory Slideshows
Guess What’s Behind the Box
Guess What’s Behind the Box
VCE IT Theory Slideshows
VCE IT Theory Slideshows
VCE IT Theory Slideshows
Guess What’s Behind the Box
IT Applications Theory Slideshows
Presentation transcript:

By Mark Kelly, vceit.com, mark@vceit.com VCE IT Theory Slideshows by Mark Kelly 2016-2019 study design Test Data Version 1.1 Begin By Mark Kelly, vceit.com, mark@vceit.com

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com What is test data? Artificial data created solely to test that software produces the right results Real data is not used because it may be damaged by software bugs it is not specifically designed to find weaknesses in software. Test data should act as the ultimate stress test to show up every possible code fault. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 2

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Good test data Test data should include every conceivable type of input Focuses on parts of the software where errors are most likely to occur. Typically these points are boundary conditions where the behaviour of the code is expected to change. Also called 'tipping points'. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 3

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Good test data Is as brief as possible Excludes repetitive data that tests things that have already been tested. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 4

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Good test data Except when load testing software. Then, huge amounts of data are required to push the code to its performance limits. Create large amounts of sample data at sites like generatedata.com and mockaroo.com. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 5

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Practice Imagine some code needs to treat people differently if they are younger than 18. What is good test data? VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 6

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Practice 17.9 18.0 18.1 includes all possible data inputs just under the tipping point (which is 18) exactly on the tipping point just over the tipping point. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 7

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Practice Including values like 14 and 24 would just waste time and accomplish nothing Those cases have already been tested by the values 17.9 and 18.1. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 8

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Exam Hint Most logical errors in real life programming, and in exam questions occur on boundaries. When asked to find a fault in code, look for code like IF x < y THEN... Often the error is that < should have been <= VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 9

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Good test data Comprehensive test data includes invalid inputs to test validation code) valid inputs inputs that are valid but unusual, unexpected or extraordinary. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 10

Audience participation time A swimming club divides its members into these age groups: Tadpoles – from 4 to 6 years. Minnows – 7 to 10 years Sardines – 11 to 15 years Piranha – 16 to 20 years Sharks – 21 to 54 years Whales – 55 and over Create a set of test data that is exhaustively tests all possible inputs and also tests validation rules to exclude ineligible applicants. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 11

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Solution 5 (to test validation code that should reject people who are too young) 6 (exactly on the lower valid boundary) 10 (upper limit for a Sardine) 11 (lower boundary for a Flathead) 19 (upper limit for a Flathead) 20 (lower boundary for a Trout) 110 (an unexpected and unusual but nevertheless valid age) VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 12

VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com Solution Notice how the test data gathers around the key tipping points - 6,11,19,20 This is where logical errors will most likely occur. Every conceivable input is represented in the test data. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 13

Other data to test validation Test data may need to include invalid values that only the incredibly-stupid people could invent. For example "Fifteen“ "Nearly 7“ "12-13“ Try to anticipate common errors that data enterers may make, and create test data for them. VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 14

VCE IT THEORY SLIDESHOWS 2016-2019 study design Mark Kelly mark@vceit.com vceit.com These slideshows may be freely used, modified or distributed by teachers and students anywhere but they may NOT be sold. they must NOT be redistributed if you modify them. This is not a VCAA publication and does not speak for VCAA. Portions (e.g. exam questions, study design extracts, glossary terms) may be copyright Victorian Curriculum and Assessment Authority and are used with permission for educational purposes. Thanks, guys! VCE IT slideshows © 2015-2019 Mark Kelly, vceit.com 15

THANKS! Because you’ve been so good, here’s a picture you can look at while your teacher works out what to do next 16 Visit vceit.com for more goodies