Presentation is loading. Please wait.

Presentation is loading. Please wait.

Advance Unit Test, Part V -Unit Test Patterns By Marc Clifton Presentation By Yasir Ibrahim.

Similar presentations


Presentation on theme: "Advance Unit Test, Part V -Unit Test Patterns By Marc Clifton Presentation By Yasir Ibrahim."— Presentation transcript:

1 Advance Unit Test, Part V -Unit Test Patterns By Marc Clifton Presentation By Yasir Ibrahim

2 Preview  About the Paper  Inspiration  Introduction  Patterns  Pass/fail Patterns  Collection Management Patterns  Data Driven Patterns  Performance Patterns  Process Patterns  Simulation Patterns  Conclusion

3 About the Paper  This paper is taken from www.codeproject.com it can be seen on http://www.codeproject.com/gen/desi gn/autp5.asp www.codeproject.com http://www.codeproject.com/gen/desi gn/autp5.asp

4 Inspiration  Design Patterns  Work on Test Patterns is still in its initial phase

5 Introduction  Unit testing evoke a strong reaction  If the programmer writes bad code …  Double edge sword There is no formal unit test engineering discipline Design to be formalize before any code  Solution Formalization of unit testing by unit test patterns

6 Patterns  Pass/fail Patterns  Collection Management Patterns  Data Driven Patterns  Performance Patterns  Process Patterns  Simulation Patterns  Multithreading Patterns

7 Pass/fail Patterns The Simple-Test Pattern

8 Pass/fail Patterns The Code-Path Pattern

9 Pass/fail Patterns The Parameter-Range Pattern

10 Data Driven Patterns The Simple Test Data Pattern

11 Data Driven Patterns The Data Transformation Test Pattern

12 Data Transaction Patterns The Simple Data I/O Pattern

13 Data Transaction Patterns The Constraints Data Pattern

14 Data Transaction Patterns The Rollback Pattern

15 Collection Management Patterns The Collection-Order Pattern

16 Collection Management Patterns The Enumeration Pattern

17 Collection Management Patterns The Collection-Constraint Pattern

18 Collection Management Patterns The Collection-Indexing Pattern

19 Performance Patterns The Performance Test Pattern

20 Process Patterns The Process-Sequence Pattern

21 Process Patterns The Process-State Pattern

22 Process Patterns The Process-Rule Pattern

23 Simulation Patterns The Mock-Object Pattern

24 Simulation Patterns The Service Simulation Pattern

25 Simulation Patterns The Bit Error Simulation Pattern

26 Simulation Patterns The Component Simulation Pattern

27 Conclusion


Download ppt "Advance Unit Test, Part V -Unit Test Patterns By Marc Clifton Presentation By Yasir Ibrahim."

Similar presentations


Ads by Google