SWTesting
SWTesting
SWTesting
Content
1. What is SW Testing 2. Testing as a V-Cycle phase 3. Functional vs. Structural Testing 4. SW Testing importance 5. Practical exercises
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.
Software Testing is ... "The process of analyzing a software item to detect the differences between existing and required conditions (that is, bugs) and to evaluate the features of the software items" [IEEE 829 Definition].
Software Testing is ... the process used to asses the quality of software a systematic activity (writing test specs, test execution, logging of results, linking to requirements) an activity done in parallel to development
Software Testing is not a proof SW correctness debugging (Testing tries to find errors, Debugging is used to remove errors)
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.
Software Testing is done in different stages of development process Build the right thing ? (validation)
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.
SW Testing Paradigms
Black-box test (system test) White-box test (module test)
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.
SW Testing
Black-box vs. white-box-testing - Conclusions
Black-box-test Advantages
Easier to use in comparison to white-box-test Access to the source code is not necessary
Disadvantages
Errors in the specification are not recognized using black-box-tests Additional functionalities not described in the specification cant be tested
White-box-test Advantages
Code coverage can mainly be calculated automatically
Disadvantages
Requirements which are not implemented are not found with this technique
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.
Traceability
SW Requirements Testcases
Traceability Matrix
9
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.
SW Testing Links
Wikipedia: Software Testing Razorcat Tessy Vector TAE, application notes, etc
10
01/06/2011 Confidential.The Contents may only be passed on, used or made known with our express permission. All rights reserved.