上海通大学 1.7 Testing activities and their related work SHANGHAI JIAO TONG UNIVERSITY products Developer Client User Management -- Test planning plan User interface Usability test desian Object design -- Unit test From RAD From ODD Integration strategy ->Integration test From TP System -> decomposition Structure test From SDD Functional -> requirements Functional test From RAD Continued Continued on next slide on next slide Software Engineering
Software Engineering 1.7 Testing activities and their related work products Functional test Structure test Developer Client User Integration test Integration strategy From TP System decomposition From SDD Functional requirements From RAD Continued on next slide Object design Unit test From ODD Management plan Test planning User interface design Usability test From RAD Continued on next slide
上海通大 SHANGHAI JIAO TONG UNIVERSITY Developer Client User Functional > requirements Functional test User manual From RAD 业W Nonfunctional > requirements Performance test Field test From RAD Project Acceptance test < agreement Installation test Daily operation Software Engineering
Software Engineering Acceptance test User manual Performance test Daily operation Functional test Installation test Field test Developer Client User From RAD Functional requirements From RAD Nonfunctional requirements Project agreement
上游充通大兽 1.8 Some Observations SHANGHAI JIAO TONG UNIVERSITY It is impossible to completely test any nontrivial module or any system Theoretical limitations:Halting problem Practial limitations:Prohibitive in time and cost Testing can only show the presence of bugs, not their absence (Dijkstra) Software Engineering
Software Engineering 1.8 Some Observations It is impossible to completely test any nontrivial module or any system • Theoretical limitations: Halting problem • Practial limitations: Prohibitive in time and cost Testing can only show the presence of bugs, not their absence (Dijkstra)
上海充通大粤 1.9 Testing takes creativity SHANGHAI JIAO TONG UNIVERSITY Testing often viewed as dirty work. To develop an effective test,one must have: Detailed understanding of the system Knowledge of the testing techniques Skill to apply these techniques in an effective and efficient manner Testing is done best by independent testers We often develop a certain mental attitude that the program should in a certain way when in fact it does not. Programmer often stick to the data set that makes the program work "Don't mess up my code!" A program often does not work when tried by somebody else. Don't let this be the end-user. Software Engineering
Software Engineering 1.9 Testing takes creativity Testing often viewed as dirty work. To develop an effective test, one must have: • Detailed understanding of the system • Knowledge of the testing techniques • Skill to apply these techniques in an effective and efficient manner Testing is done best by independent testers • We often develop a certain mental attitude that the program should in a certain way when in fact it does not. Programmer often stick to the data set that makes the program work • "Don’t mess up my code!" A program often does not work when tried by somebody else. • Don't let this be the end-user
上游充通大粤 SHANGHAI JIAO TONG UNIVERSITY 2.Testing Concepts Software Engineering
Software Engineering 2. Testing Concepts