Developing Computer Games Testing & Documentation.

Slides:



Advertisements
Similar presentations
Modular Design Using Subroutines (functions later)
Advertisements

Testing Relational Database
Programming Types of Testing.
Footloose Feedback.
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Chapter 9 Describing Process Specifications and Structured Decisions
System Design and Analysis
1 CSI 101 Elements of Computing Fall 2009 Lecture #4 Using Flowcharts Monday February 2nd, 2009.
Program Design and Development
Program Flow Charting How to tackle the beginning stage a program design.
Program Flow Charting How to tackle the beginning stage a program design.
Programming Fundamentals (750113) Ch1. Problem Solving
A452 – Programming project – Mark Scheme
Chapter 1 Program Design
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
The Program Design Phases
PRE-PROGRAMMING PHASE
Bug Session Two. Session description In this session the use of algorithms is reinforced to help pupils plan out what they will need to program on their.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
The Scratch Calculator You are all going to be real computer programmers!!!
Introduction to Systems Analysis and Design Trisha Cummings.
By the end of this session you should be able to...
Before I stated the database I had to save it into My Documents> ICT> You can do it> D201EPORTFOLIO> Evidence For the field group food item, I set the.
Introduction to Programming Lecture Number:. What is Programming Programming is to instruct the computer on what it has to do in a language that the computer.
Testing. Definition From the dictionary- the means by which the presence, quality, or genuineness of anything is determined; a means of trial. For software.
COMPUTER CONTROL Year 11. Lesson 1 Introduction to Computer Control.
Chapter 8: Systems analysis and design
Unit B065 – Coding a solution PREP WORK 1)Make sure you keep a work log / diary. Use the table on page 16 of the hand book as a template 2)Keep a bibliography.
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
P6 Limits of Authority.
Program Development Life Cycle (PDLC)
Programming Concepts Chapter 3.
Describe the Program Development Cycle. Program Development Cycle The program development cycle is a series of steps programmers use to build computer.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
Chapter 1 Program design Objectives To describe the steps in the program development process To introduce the current program design methodology To introduce.
C++ Basics C++ is a high-level, general purpose, object-oriented programming language.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
1 Program Planning and Design Important stages before actual program is written.
Intermediate 2 Computing Unit 2 - Software Development.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
HNC Flow Chart 1 IT Systems Analysis and Design SSADM – Design.
Learning Objective To be able to… Understand flow chart symbols Complete and correct flow chart algorithms Create a program based on a flow chart.
 Problem Analysis  Coding  Debugging  Testing.
Programming Logic and Design Seventh Edition Chapter 1 An Overview of Computers and Programming.
Algorithms and Flowcharts
Programming revision Revision tip: Focus on the things you find difficult first.
Chapter One Problem Solving
Component 1.6.
Project planning The systems life cycle.
Introduction to Programming
Lecture 2 Introduction to Programming
LESSON 2 SYSTEM ANALYSIS & DESIGN PHASE
Understand the Programming Process
Designing and Debugging Batch and Interactive COBOL Programs
Programming Fundamentals (750113) Ch1. Problem Solving
Computational Thinking for KS3
Understand the Programming Process
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 Development Process
Chapter 11 Describing Process Specifications and Structured Decisions
Data and Flowcharts Session
Data and Flowcharts Session
Developing a Program.
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Programming Logic and Design Eighth Edition
Introduction to Programming
Presentation transcript:

Developing Computer Games Testing & Documentation

KC 2008DCG 0802 What you will learn By the end of the lesson you should have the skills to: Task 6D –Compile a data dictionary for the objects in your program –Create flow charts for major functional elements of the game including ifs/case/loop –Document your code with full annotations –Record the variable & constants used in your program –Task 6B –Create a test strategy –Create a test plan for your program

KC 2008DCG 0803 Activity 1 – Identifying what a object data dictionary is! 5 mins Open DCG 083 Data Dictionary Objects Example and tell me what you think it is used for! Designers use it to instruct developer as to what properties must be set per object

KC 2008DCG 0804 Activity 2 – Try creating an Object Data Dictionary – 5 mins Open DCG 081 DDO template and put some entries in for your game objects.

KC 2008DCG 0805 System Flowchart Symbols Terminator – Start or End Flow indicator – to show the movement of a packet of data Process – to show a data process such as ‘create invoice’ Input or Output Decision- (if)

KC 2008DCG 0806 Activity 3 - Task 6D flowcharts – 20 mins Get into groups of 4 (someone you don’t normally work with) Member 1 – Open DCG 090 P2 and create a flowchart for Process MoveCars Member 2 – Open DCG 090 p4 and create a flow chart for Process WhoWins Member 3 – Open DCG 090 p4 and create flowchart for Process OverallWinner Member 4 – Open DCG 100 p3 and do a flowchart for process WinningStakes/Bankrupt

KC 2008DCG 0807 Task 6 d Code Annotation It is essential to annotate your code as you build your program Annotation is used so that anyone having to maintain or repair your code in the future known the rational behind your code design Use the ‘ symbol at the start of each piece of annotation Use the annotation on the handouts as a guide to the type of information you need to include

KC 2008DCG 0808 Task 6 d Variables & Constants Each time you create a new variable or constant you need to add it to the following table found in your assignments task 6d. Variable / Constant NameData Type What Variable / Constant is Used For Reason for Choice of Data Type

KC 2008DCG 0809 Why do we test? Identifies flaws in the programming code –Easier to de-bug little & often –Errors in the early build stages can cause greater problems later that are harder to detect Identifies flaws in the design –Doesn’t do what you think the code should make it do! –Might need additional objects or processes added to ensure correct working

KC 2008DCG When do we test? CONSTANTLY!!! From the outset – as soon as you start to build –Leaving testing till the end makes de-bugging very difficult –Testing each module of the build ensures you are OK to progress to the next stage

KC 2008DCG How do we test? Planning –Test plans to identify what needs to be tested at each stage Testing –Modular testing – identifies problems at each stage –Completed testing – ensures the completed project works when put together Error correcting –Mainly completed as you go –Remedial action & retest needs to be recorded on the test plan

KC 2008DCG How to Write a Test Strategy for Task 6 b –I am going to use test data which is valid and invalid –I will use test data to test all formulae –I will work out what the answers should be and test against this. –I will try to test the whole of the system including design testing, input testing, process testing and output testing. –I will work through the tests in the following order:

KC 2008DCG Task 6 b Test Strategy I will include: –Design Testing – I will get the user to check they are happy with the designs –Unit/Integration testing - –I will Test each object –Integration Testing – I will test those functions which feed into other parts of a sequence System testing I will test items linked objects or forms

KC 2008DCG Activity 4 - Test Plan - 20 mins Identify tests for each stage of the build (split by module if multi form) Say: –what you need to do to perform the test –Data to be used –what you expect to happen –what actually happens using DCG 082 do test plan Test NoDescription Data Entered / Action Taken Expected ResultActual Result

KC 2008DCG Failed tests State in the failed test (actual result) what happened & what you plan to do to correct the error Add a new test to the test plan to re-test after remedial action

KC 2008DCG What you have learned You should now be able to: –Compile a data dictionary for the objects in your program –Create flowcharts for all major functional elements case/ifs/loops –Record the variable & constants used in your program –Annotate your programming code. –Create a test strategy and plan for your program –Create testing screenshots