1 / 39

CSCE 747 Software Testing and Quality Assurance

CSCE 747 Software Testing and Quality Assurance. Lecture 10 – Integration Testing. Last Time Integration & System Testing Part III Levels of Testing Ch 12, pp 181-199. Today Integration & System Testing Part III Integration Testing Ch 13, pp 201-227.

elon
Download Presentation

CSCE 747 Software Testing and Quality Assurance

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSCE 747 Software Testing and Quality Assurance Lecture 10 – Integration Testing

  2. Last Time • Integration & System Testing Part III • Levels of Testing Ch 12, pp181-199 Today • Integration & System Testing Part III • Integration Testing Ch 13, pp201-227 Jorgensen, Paul C. Software Testing A Craftsman Approach

  3. Table 13.1 SATM Units Jorgensen, Paul C. Software Testing A Craftsman Approach

  4. SATM Functional Decomposition Jorgensen, Paul C. Software Testing A Craftsman Approach

  5. Jorgensen, Paul C. Software Testing A Craftsman Approach

  6. SATM Call Graph Jorgensen, Paul C. Software Testing A Craftsman Approach

  7. Stubs for Top Down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  8. Figure 13.3 Top-down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  9. Figure 13.3 Top-down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  10. Figure 13.3 Top-down Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  11. Bottom-Up Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  12. Sandwich Integration • John Montagu, 4th Earl of Sandwich Jorgensen, Paul C. Software Testing A Craftsman Approach

  13. Call Based Graph Integration • Pairwise integration • Neighborhood integration • InteriorNodes = nodes – sources – sinks • Neighborhoods • Interior+source node Jorgensen, Paul C. Software Testing A Craftsman Approach

  14. Neighborhood Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  15. Path Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  16. New and Extended Concepts • Definition: A source node in a program is a statement at which program execution begins or resumes. • Definition: A sink node in a program is a statement at which program execution stops. • Definition: A module execution path is a sequence of statements that begins with a source node and ends with a sink node, with no intervening sink nodes. Jorgensen, Paul C. Software Testing A Craftsman Approach

  17. Definition: A message is a programming language mechanism by which one unit transfers control to another unit. • Definition: An MM-Path is an interleaved sequence of module execution paths and messages. Jorgensen, Paul C. Software Testing A Craftsman Approach

  18. Fig 13.8 MM-Paths across three Units Jorgensen, Paul C. Software Testing A Craftsman Approach

  19. Definition: Given a set of units, their MM-Pathgraph is the directed graph in which nodes are module execution paths and edges correspond to messages and returns from one unit to another. Jorgensen, Paul C. Software Testing A Craftsman Approach

  20. Figure 13.10 Data Quiescence Jorgensen, Paul C. Software Testing A Craftsman Approach

  21. SATM code Jorgensen, Paul C. Software Testing A Craftsman Approach

  22. Jorgensen, Paul C. Software Testing A Craftsman Approach

  23. Jorgensen, Paul C. Software Testing A Craftsman Approach

  24. Jorgensen, Paul C. Software Testing A Craftsman Approach

  25. Jorgensen, Paul C. Software Testing A Craftsman Approach

  26. Jorgensen, Paul C. Software Testing A Craftsman Approach

  27. Jorgensen, Paul C. Software Testing A Craftsman Approach

  28. UML Sequence Diagram a sample MM-Path Jorgensen, Paul C. Software Testing A Craftsman Approach

  29. MM-Path directed graphs Jorgensen, Paul C. Software Testing A Craftsman Approach

  30. Call Graph of “Integration” Version Jorgensen, Paul C. Software Testing A Craftsman Approach

  31. SATM Integration Version • Function • isLeapYear(year) • lastDayOfMonth( ) • getDate() Jorgensen, Paul C. Software Testing A Craftsman Approach

  32. isLeap() Jorgensen, Paul C. Software Testing A Craftsman Approach

  33. lastDayOfMonth Jorgensen, Paul C. Software Testing A Craftsman Approach

  34. validDate() Jorgensen, Paul C. Software Testing A Craftsman Approach

  35. Decomposition Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  36. Call Graph Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  37. MM-Path-Based Integration Jorgensen, Paul C. Software Testing A Craftsman Approach

  38. Table13.4 Comparison of Integration Testing Strategies

  39. Jorgensen, Paul C. Software Testing A Craftsman Approach

More Related