Presentation is loading. Please wait.

Presentation is loading. Please wait.

E MBEDDED S YSTEMS S OFTWARE T RAINING C ENTER T EST D ESIGN T ECHNIQUES C OPYRIGHT © 2012 DSR C ORPORATION.

Similar presentations


Presentation on theme: "E MBEDDED S YSTEMS S OFTWARE T RAINING C ENTER T EST D ESIGN T ECHNIQUES C OPYRIGHT © 2012 DSR C ORPORATION."— Presentation transcript:

1 E MBEDDED S YSTEMS S OFTWARE T RAINING C ENTER T EST D ESIGN T ECHNIQUES C OPYRIGHT © 2012 DSR C ORPORATION

2 Objectives  Understand what test design techniques exists and how to choose the correct ones C OPYRIGHT © 2012 DSR C ORPORATION 2

3 Class Materials  Software Engineering Introduction diagrams are available here:  http://estc.dsr-company.com http://estc.dsr-company.com  Hands-on Exercises are available here: C OPYRIGHT © 2012 DSR C ORPORATION 3

4 Agenda 1.Categories of Test Design Techniques 2.Specification-Based Techniques 3.Test Coverage 4.Structure-Based Techniques 5.Experience-Based Techniques 6.Usage of Test Design Techniques C OPYRIGHT © 2012 DSR C ORPORATION 4

5 E MBEDDED S YSTEMS S OFTWARE T RAINING C ENTER C ATEGORIES OF T EST D ESIGN T ECHNIQUES C OPYRIGHT © 2012 DSR C ORPORATIONS

6 Test Design Techniques Classification C OPYRIGHT © 2012 DSR C ORPORATION Foundations of Software Testing. ISTQB Certification. Dorothy Graham, Erik Van Veenendaal 6

7 Test Cases Designing with Decision Tables C OPYRIGHT © 2012 DSR C ORPORATION Foundations of Software Testing. ISTQB Certification. Dorothy Graham, Erik Van Veenendaal  Loan Calculation Example:  The final step of this technique is to write test cases to exercise each of the four rules in the table.  Test cases may be enhanced with EP and BVA approaches. 7

8 State Transition Testing with State Diagram C OPYRIGHT © 2012 DSR C ORPORATION Foundations of Software Testing. ISTQB Certification. Dorothy Graham, Erik Van Veenendaal  TC1. Normal Case: the correct PIN is entered the first time.  TC2. Error case enters an incorrect PIN each time so that the system eats the card.  TC3. PIN was incorrect the first time but OK the second time.  TC4. PIN was correct on the third try. 8

9 Testing for Invalid Transitions: State Matrix C OPYRIGHT © 2012 DSR C ORPORATION Foundations of Software Testing. ISTQB Ceritfication. Dorothy Graham, Erik Van Veenendaal 9

10 Use Case Example C OPYRIGHT © 2012 DSR C ORPORATION Foundations of Software Testing. ISTQB Certification. Dorothy Graham, Erik Van Veenendaal 10

11 Summary  The test design techniques are distinguished by their primary sources and are used to find different defects, so a composition of them must be used to achieve good product quality.  Specification-based test design techniques are good to use when there is good specification. Equivalence partitioning, boundary analysis, decision tables, and state transition techniques are the most useful.  Code-based test design techniques involve code analysis and various code coverage criteria. It allows finding many anomalies in the code. The decision/condition code coverage criteria is the most useful.  Experience-based techniques are complementary to code-based and specification-based techniques and are applicable for low-risk systems in conditions that lack requirements and are time pressured. C OPYRIGHT © 2012 DSR C ORPORATION 11

12 References 1.Foundations of Software Testing. ISTQB Certification. Dorothy Graham, Erik Van Veenendaal, Isabel Evans, Rex Black 2.SWEBOK. Guide to the Software Engineering. Body of Knowledge. 2004 Version / A project of the IEEE Computer Society Professional Practices Committee 3.IEEE Std 610.12-1990, IEEE Standard Glossary of Software Engineering Terminology 4.Code Coverage Analysis. By Steve Cornett. Copyright © Bullseye Testing Technology 1996-2011 http://www.bullseye.com/coverage.htmlBullseye Testing Technologyhttp://www.bullseye.com/coverage.html 5.DO-178B, Software Considerations in Airborne Systems and Equipment Certification, RCTA, December 1992, pp.31, 74.RCTA 6.http://www.softwaretestinggenius.comhttp://www.softwaretestinggenius.com 7.gcov—a Test Coverage Program. http://gcc.gnu.org/onlinedocs/gcc/Gcov.htmlttp://gcc.gnu.org/onlinedocs/gcc/Gcov.html 8.LCOV - the LTP GCOV extension. http://ltp.sourceforge.net/coverage/lcov.phphttp://ltp.sourceforge.net/coverage/lcov.php C OPYRIGHT © 2012 DSR C ORPORATION 12


Download ppt "E MBEDDED S YSTEMS S OFTWARE T RAINING C ENTER T EST D ESIGN T ECHNIQUES C OPYRIGHT © 2012 DSR C ORPORATION."

Similar presentations


Ads by Google