itec 370 lecture 19 testing. review questions? design document due by 10pm –system can be...
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/3.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/8.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/9.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/11.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/14.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022082710/56649e435503460f94b36eb2/html5/thumbnails/15.jpg)
Testing
Review
• Test plan– Sections– Importance
• Next week– Bug tracking / Interface testing