itec 370 lecture 19 testing. review questions? design document due by 10pm –system can be...

15
ITEC 370 Lecture 19 Testing

Upload: betty-wells

Post on 27-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

ITEC 370

Lecture 19Testing

Page 2: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Review

• Questions?• Design document due by 10PM– System can be implemented just by

following it

• Testing– Black, White, Glass– Different types, roles

Page 3: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Objectives

• Test plan–What, Why, How, Who– Explain what to test, how to test it, and

why

Page 4: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Sections

• Why do you think a test plan is recommended?

• What would you put in a test plan?• What might happen if a test plan is

not created / followed?

Page 5: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Sections

• Introduction• What is to be tested (tagged VCS)• What is to not be tested• Approach (manual, automatic)• Pass / fail criteria• When test should be stopped

Page 6: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Sections

• Deliverables– Document– Test cases (scenarios)– Scripts / scaffolding– Results (log files)– Report (sumary)

Page 7: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Sections

• Environment– OS, Pre-requisite versions, what other

processes are running, etc…

• Estimate• Schedule• Staffing needs• Responsibilities• Risks

Page 8: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Purpose

• Guide the testing process• No compile it and see if it works…• Can be quite tedious– iPod programming environment

• Only as useful as you make it– Out of date document not useful– Creating for sake of creating, not useful

either

Page 9: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Requirements

• If you didn’t have usage scenarios, create them

• Determine how to test each particular requirement in your SRS

• Ok to group several requirements together

• Make sure you cover common usage scenarios!

Page 10: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Design

• What classes does a particular test target?

• What parts of the design are the most complex?

• Are the tests covering the entire system?

• Are you testing parts in isolation or in collaboration

Page 11: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Implementation

• What part was the hardest to write?• What part “smells”• Who has the highest bug-rate?• Random test X part

Page 12: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Scale

• What happens if you spend too much time testing?

• What happens if you spend too little time testing?

• Adjust formality / amount of testing as project size increases

Page 13: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Report

• Determine who communicates with who

• What the test case is• What bug is present– Screenshots– Logfiles

• Whether or not the bug can be replicated

• Severity of bug– User / Developer

Page 14: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Your project

• I will expect a test plan from each of your groups

• Should cover each requirement• Whether you follow it and use it to

find/fix bugs is up to you

Page 15: ITEC 370 Lecture 19 Testing. Review Questions? Design document due by 10PM –System can be implemented just by following it Testing –Black, White, Glass

Testing

Review

• Test plan– Sections– Importance

• Next week– Bug tracking / Interface testing