The authors explain how to use reliability models to determine how much system testing to do and how to allocate resources among the components to be tested. IDevelopment Testing –For software, development testing includes prototype testing, unit testing, and software build integration testing. This testing is normally conducted at the software developer’s facility. ISite Testing –Site testing includes hardware/software integration testing, subsys-tem testing, and system testing. Testing Strategy Suradet Jitprapaikulsarn Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, McGraw-Hill 2005 Verification & Validation • • • • • • • • • • • • formal technical reviews quality and configuration audits performance monitoring simulation feasibility study documentation review database review algorithm analysis development testing usability testing qualification testing installation testing ! '# $%& 2 Software Testing Testing is the process of exercising a program with the specific intent of finding errors prior to delivery to the end user. Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, McGraw-Hill, 2005 ! '# $%& 3 1 What Testing Shows errors requirements conformance performance an indication of quality Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, McGraw-Hill, 2005 ! '# $%& 4 Who Tests the Software? Developer independent tester Understands the system but, will test 'gently' Must learn about the system, but, will attempt to break it and, is driven by 'delivery' and, is driven by quality Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, McGraw-Hill, 2005 ! '# $%& 5 Testing Strategy • • • • Testing planning Test case design Test execution Resultant data collection and evaluation ! '# $%& 6 2 Testing Strategy unit test integration test system test validation test Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, McGraw-Hill, 2005 ! '# $%& 7 Testing Strategy • • • • • • Quantify requirements Start from small to large Explicitly define testing objectives Know the users Emphasize rapid testing Build self-diagnose software that accommodating test automation • Testing as last resource • Review test strategy and test cases • Continuous improvement ! '# $%& 8 Unit Testing module to be tested results software engineer test cases Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, McGraw-Hill, 2005 ! '# $%& 9 3 Unit Testing module to be tested interface local data structures boundary conditions independent paths error handling paths test cases Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, 2005 ! '# $%& McGraw-Hill, 10 Errors commonly found • Erroneous computation • Incorrect comparison • Improper control flow ! '# $%& 11 Errors computation 1. Operation precedence mixed mode operations incorrect initialization precision inaccuracy incorrect symbolic representation ! '# $%& 12 4 Incorrect Comparison 1. Comparison of different data types Incorrect logical operators or precedence Expectation of equality Incorrect comparison of variables Improper or nonexistent loop termination Failure to exit when divergent iteration is encountered 7. Improperly modified loop variables ! '# $%& 13 Error Handling Check 1. Unintelligible error description Mismatched note External intervention Incorrect handling of exception Insufficient data to identify error spots ! Usb virtual serial port. '# $%& 14 Unit Test Environment driver interface local data structures Module boundary conditions independent paths error handling paths stub stub test cases RESULTS Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, 2005 ! '# $%& McGraw-Hill, 15 5 Integration Testing Strategies Options: • the “big bang” approach • an incremental construction strategy Derived from Roger S. Pressman, Software Engineering: A Practitioner’s Approach, 6th Edition, 2005 !
0 Comments
Leave a Reply. |