Decision Tables. UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter13/01 1 February 2013.

Slides:



Advertisements
Similar presentations
Testing “Multiple Conditions” with Decision Table Technique
Advertisements

Decision Table Based Testing
Equivalence Class Testing
Software Testing and Quality Assurance
Introduction to UML (slides adapted from Michael Mateas)
Equivalence Class Testing, Decision Table Testing
Computer science careers. Computer science at UCSC UC Santa Cruz CMPS 10 – Introduction to Computer Science
Testing an individual module
Introduction to Testing UC Santa Cruz CMPS 171 – Game Design Studio II 8 February 2011.
Equivalence Class Testing
1 Functional Testing Motivation Example Basic Methods Timing: 30 minutes.
Jeopardy Test Taking Strategies Math Vocabulary Fractions and Decimals Triangles Lines Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400.
Today’s Agenda  Reminder: HW #1 Due next class  Quick Review  Input Space Partitioning Software Testing and Maintenance 1.
Decision Table Based Testing Outline Decision table vocabulary –Limited Entry Decision Tables (LEDT) –Extended Entry Decision Tables (EEDT) –Mixed Entry.
Boundary Value Testing 1.A type of “Black box” functional testing –The program is viewed as a mathematical “function” –The program takes inputs and maps.
Classifying Triangles. Two Ways to Classify Triangles  By Their Sides  By Their Angles.
Equivalence Class Testing, Decision Table Testing UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter12/01
Game playtesting, Gameplay metrics (Based on slides by Michael Mateas, and Chapter 9 (Playtesting) of Game Design Workshop, Tracy Fullerton) UC Santa Cruz.
IP Issues. UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter13/01 27 February 2013.
Independent Game Festival. IndieCade. UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter13/01 15.
Introduction to Typography. UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter13/01 25 February.
UML Sequence Diagrams (Slides adapted from Michael Mateas) UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter12/01.
Forming Effective Teams UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter12/01 17 January 2012.
Fine-Tuning Game Controls UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter13/01 8 February 2013.
Game Design Studio III (CMPS 172) Fine-Tuning Game Controls UC Santa Cruz CMPS 172 – Game Design Studio III courses.soe.ucsc.edu/courses/cmps172/Spring12/01.
Taxonomy of Video Game Bugs Based on slides and research originally by Chris Lewis, published at the Foundations of Digital Games 2010 conference UC Santa.
PROBABILITY AND COMPUTING RANDOMIZED ALGORITHMS AND PROBABILISTIC ANALYSIS CHAPTER 1 IWAMA and ITO Lab. M1 Sakaidani Hikaru 1.
Portfolio - LinkedIn UC Santa Cruz CMPS 170 – Game Design Studio I 21 October.
UC Santa Cruz CMPS 172 – Game Design Studio III
Creating a database table
SAT® Mathematics.
Forming Effective Teams
Bellwork: Monday.
Decision Table Testing
Data Types Variables are used in programs to store items of data e.g a name, a high score, an exam mark. The data stored in a variable is entered from.
Reflecting on Sprint 1 Reports
Game user research in industry Jim Whitehead
Triangles.
Input Space Partition Testing CS 4501 / 6501 Software Testing
UML Sequence Diagrams (Slides adapted from Michael Mateas)
Intro to CS Monday, August 29
QM222 A1 Visualizing data using Excel graphs
Intro to CS Monday, August 24
Journey Postmortem. UC Santa Cruz CMPS 171 – Game Design Studio II
Personal branding. UC Santa Cruz CMPS 171 – Game Design Studio II
Game user research in industry Jim Whitehead
Art Direction. Making Game Worlds Feel Alive
Sprint 5 Schedule (15 – 2 days)
Equivalence Class Testing
Stat 217 – Day 28 Review Stat 217.
Bellwork: We will do a Number Talk today. Monday.
CSCE 747 Software Testing and Quality Assurance
We’re moving on to more recap from other programming languages
CSCE 747 Software Testing and Quality Assurance
SAT® Mathematics.
Classifying Triangles
No Warm-Up 5/16/17 Happy Tuesday!  We have 8 school days left this year! (and 1 more Tuesday after today!) You can choose your seat today; if you move.
Chapter 6: Random Variables
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
COMPUTERIZING YOUR ESTIMATING PROCESS
CSE403 Software Engineering Autumn 2000 More Testing
No Warm-Up 5/15/17 Happy Monday!  We have 9 school days left this year! (and 1 more Monday after today!) You can choose your seat today; if you move.
Overview Functional Testing Boundary Value Testing (BVT)
No Warm-Up 5/19/17 Happy Friday!  We have 5 school days left this year! You can choose your seat today; if you move the seats around, please put them.
Week 3.
Reading: Monday Find your I.J. and have it on your desk (or a separate piece of paper) On the next page we haven’t written in, number the page #1.
Classifying Triangles
No Warm-Up 5/18/17 Happy Thursday!  We have 6 school days left this year! (and 1 more Thursday after today!) You can choose your seat today; if you.
Starter.
Software Development Techniques
Presentation transcript:

Decision Tables. UC Santa Cruz CMPS 171 – Game Design Studio II courses.soe.ucsc.edu/courses/cmps171/Winter13/01 1 February 2013

UC SANTA CRUZ Monday/Wednesday Classes  Jim is traveling Monday-Wednesday next week (Feb. 4-6)  Principal Investigator’s meeting for a grant  Cameron Alston will be leading the class  Monday:  Play a board game that is new to you  Take notes  Wednesday  Play further  With a partner, in-class, write a short 1-2 page analysis of some aspect of gameplay  Attendance is required Monday and Wednesday

UC SANTA CRUZ Team Meetings  Will be meeting  Siegebreakers, 3:30pm, today (Friday)  Lens, 4:30pm, today (Friday)  No team meetings  Monday, Tuesday, Wednesday of next week  No team meetings with:  Militarium, Biogenesis, Tearable World, 10 Days Left to Live, Pixture, Asterouge  Will meet We’re Screwed! On Thursday, February 7

UC SANTA CRUZ Upcoming deadlines  Today  Sprint 1 report due  Sprint 2 plan due  Today, Friday (Feb. 1): team status reporting  Due by midnight  Report on team activities this week  Be sure to use team status reporting template  courses.soe.ucsc.edu/courses/cmps171/Winter13/01/pages/teamstatus- template

UC SANTA CRUZ Upcoming events  Winter Job & Internship Fair  Tuesday, February 5  See for more informationhttp://careers.ucsc.edu/

UC SANTA CRUZ Lab Cleanup Schedule  This week: Tearable World  Next week: We’re Screwed!  Team duties:  Ensure overflowing trash cans are emptied to bin outside in 3 rd floor courtyard (anytime during week)  By 5pm Monday and 5pm Friday (unless things get out of control, then more often):  Pick up food containers, bottles, etc.  Pick up stray craft materials, pens, etc and return to drawers  Clean off tables in conference rooms and big circular table  Report any major soda/food spills to me, so we can call cleanup crews  Put controllers/game boxes/etc. away (tidy up game area)  Report any cleaning materials needed

UC SANTA CRUZ Sprint Report  The output of a Sprint Retrospection meeting  Meeting held after the end of every sprint  Provides time to reflect on what happened, determine improvements  Questions to be answered:  What things should we stop doing?  Actions/activities the team did that were harmful, hurt progress  What should we start doing?  Actions/activities that will improve how we do work  What is working well that we should continue to do?  What is working well, and shouldn’t be touched?  What work was completed, and not completed?  User stories that were completed, not completed  What is our rate of completing work?  Story points completed, ideal work hours completed  Story points/day, ideal work hours/day  Average story points/day & ideal work hours/day across all sprints  Final sprint burndown chart

UC SANTA CRUZ Triangle problem (revisited)  Triangle problem  A program reads three integer values from the console. The three values are interpreted as representing the lengths of the sides of a triangle. The program prints a message that states whether the triangle is scalene, isosceles, or equilateral.  Recall:  Equilateral triangle:  Three equal sides, three equal angles (all 60 degrees)  Isosceles triangle:  Two equal sides, two equal angles  Scalene triangle:  No equal sides, no equal angles  Use Output classes  In this case, is best to develop test cases based on output equivalence classes  What are they?  What are examples of strong normal and weak robust test cases (assume max side length of 200)

UC SANTA CRUZ Decision Table Testing  Core idea:  Use a table format to capture the relationship between input conditions and output actions  Then, use combination of conditions and actions to develop test cases  Benefit: tables provide a rigorous way of specifying conditions and actions, since omissions are very clear (an empty part of the table)  Decision table format: Stub portion Entry portion

UC SANTA CRUZ Decision Table Format  Conditions describe logical states the software can be in  Often describe ranges of inputs  Actions describe possible things the software can do  Often are the outputs  Rules describe what actions (if any) occur for a given set of conditions Conditions (condition stub) Actions (action stub) Rule 1Rule 2Rule n …

UC SANTA CRUZ Triangle Problem as Decision Table C1: a,b,c form a triangle? FTTTTTTTT C2: a=b?--TTTTFFFF C3: a=c?--TTFFTTFF C4: b=c?--TFTFTFTF A1: Not a triangleX A2: Scalene A3: Isosceles A4: EquilateralX A5: ImpossibleXX From: Software Testing: A Craftman’s Approach 3 rd Ed. Fill-in last 5 columns

UC SANTA CRUZ Triangle Problem as Decision Table C1: a,b,c form a triangle? FTTTTTTTT C2: a=b?--TTTTFFFF C3: a=c?--TTFFTTFF C4: b=c?--TFTFTFTF A1: Not a triangleX A2: ScaleneX A3: IsoscelesXXX A4: EquilateralX A5: ImpossibleXXX From: Software Testing: A Craftman’s Approach 3 rd Ed.

UC SANTA CRUZ Generating Test Cases from Decision Table  For each row in the table, pick actual values that satisfy the conditions, and then verify the output state(s) match the actions.  In-class:  Find example test cases from the complete decision table for the triangle problem  What are the pros and cons of these test cases?

UC SANTA CRUZ Random Testing  One final black box testing technique is to use a random number generator to create inputs.  Requires a stopping criteria  Could generate random numbers forever – how many do you want?  Pro:  Can make a lot of tests, cheaply  Explore larger, variable part of input space  Con:  Need to control seed to ensure test cases are repeatable (otherwise vary with each run)  Tests are more computationally expensive to run  Tests may require more work to create for the first time  Example: random testing the triangle problem  Randomly pick triangle side values  Stopping criteria: continue until every possible output has been seen at least once  Example (from book):  1289 test cases, of which 663 are nontriangles, 593 are scalene, 32 are isosceles, and 1 is equilateral

UC SANTA CRUZ Oracles  No, not the database company  Think Oracle of Delphi  Tells the truth about your future  A test oracle is a function that determines whether the program’s output for a given set of inputs is correct or incorrect.  A human being often acts as the test oracle.  Either manually testing code, or determining what the outputs should be for an automatically run regression test with static inputs  For random testing, the test oracle must be a computational function.  It can often be as difficult to make the test oracle as it is to create the test