09Testing

09Testing - COMP 211 I NTRODUC ON TO TI S OFTWARE ENGI...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
COMP 211 COMP 211 TESTING TESTING 1 TESTING TESTING COMP 211 INTRODUCTION TO SOFTWARE ENGINEERING
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
COMP 211 COMP 211 TESTING TESTING 2 TESTING OUTLINE TESTING OUTLINE [9] Plan Tests Design Tests White Box Black Box Regression Implement Tests Perform Tests Unit Integration System Acceptance Evaluate Tests Debug Code
Background image of page 2
COMP 211 COMP 211 TESTING TESTING 3 TESTING OVERVIEW TESTING OVERVIEW [9.1] testing is the process of finding differences between the specified (expected) and the observed (existing) system behavior usually done by developers that were not involved in system implementation to test a system effectively, must have a detailed understanding of the whole system not a job for novices it is impossible to completely test a nontrivial system systems often deployed without being completely tested Goal: Goal: design tests that will systematically find defects aim is to break the system ( make it fail )
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
COMP 211 COMP 211 TESTING TESTING 4 the time uncertainty in testing is the debug part! TESTING OVERVIEW TESTING OVERVIEW [9.2] Software configuration Test configuration Test results Expected results Error rate data Corrections Testing Evaluation Reliability & quality model Debug Done No errors
Background image of page 4
COMP 211 COMP 211 TESTING TESTING 5 TESTING — VERIFICATION & VALIDATION TESTING — VERIFICATION & VALIDATION verification is the process of making sure that we have built the product right (i.e., it meets its stated requirements) most of the testing workflow is targeted at doing verification validation is the process of making sure that we have built the right product (i.e., it is fit for its purpose) acceptance tests deal mainly with validation testing verifies the results of implementation by testing each build as well as final versions of the system by planning the tests required for each iteration designing and implementing the tests by creating test cases that specify what to test test procedures that specify how to test test components to automate the testing, if possible
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
COMP 211 COMP 211 TESTING TESTING 6 Inception Elaboration Construction Transition TESTING LIFE CYCLE ROLE TESTING LIFE CYCLE ROLE Phases Core Workflows Requirements Analysis Design Implementation Testing iter. #1 iter. #2 iter. #n-1 iter. #n Increments Iteration
Background image of page 6
COMP 211 COMP 211 TESTING TESTING 7 TESTING LIFE CYCLE ROLE TESTING LIFE CYCLE ROLE the testing workflow is primarily employed when each build is integrated and system tested in focus both during elaboration (when the executable architectural baseline is tested) and during construction (when the bulk of the system is implemented) during transition , focus is on fixing defects and doing regression testing previously developed test cases are used later as regression test cases test model is maintained throughout the life cycle , but it evolves: obsolete test cases are removed some test cases are refined into regression test cases new test cases are created for each new build
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/14/2010 for the course COMP 211 taught by Professor Nil during the Spring '02 term at HKUST.

Page1 / 71

09Testing - COMP 211 I NTRODUC ON TO TI S OFTWARE ENGI...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online