1 / 27

CEN 4072 Software Testing

CEN 4072 Software Testing. PPT4: Reproducing the problem. PPT and video are due: no later than September 27, 5:00 PM Submit to: lpiegl@gmail.com This template file is just an outline of the presentation that you need to complete. Additional pages will

olaf
Download Presentation

CEN 4072 Software Testing

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. CEN 4072 Software Testing PPT4: Reproducing the problem PPT and video are due: no later than September 27, 5:00 PM Submit to: lpiegl@gmail.com This template file is just an outline of the presentation that you need to complete. Additional pages will be necessary to fully explore the topic above. Each page should contain adequate text as well as illustrations. You are free to use all publicly available information (text as well as graphics) as long as the sources are properly acknowledged.

  2. Team members’ contributions Member [name]: Member [name]: Member [name]: Member [name]:

  3. First things first: reproduce the problem Content outline: • Reproduce the problem exactly as it occurred • Examples

  4. Why reproduce? Content outline: • Observe • Check the fix

  5. Can the problem be reproduced? Content outline: • Is it always possible? • What if not possible?

  6. Iterative reproduction Content outline: • Start with your environment • Add more circumstances • Reproduce the execution

  7. Reproducing execution Content outline: • First, reproduce the environment • Then reproduce the execution • Examples

  8. Reproducing execution Content outline: • Reproducing input means reproducing execution • Examples

  9. Program inputs Content outline: • Inputs for problem reproduction • data • user interaction • communication • randomness • operating system • schedules • debugging tools

  10. Data Content outline: • Get all the data you need • Get only the data you need

  11. Data Content outline: • Availability of data • Synthetic vs. realistic data

  12. User interaction Content outline: • Capture • Replay

  13. User interaction Content outline: • Recorded interaction • Are the files usable?

  14. Communication Content outline: • Record since last checkpoint • Example

  15. Communication Content outline: • Record last transaction • Example

  16. Randomness Content outline: • Program behavior in different runs • Check using random input

  17. Randomness Content outline: • Difference between good a bad randomness • Examples

  18. Operating system Content outline: • Record and replay OS interactions • Example

  19. Operating system Content outline: • Traced interaction with example • Challenges of replaying traced interactions

  20. Schedules Content outline: • Challenges regarding thread changes • Reproducing schedules

  21. Debugging tools Content outline: • Code may fail outside the debugger only • Types of bugs: • Bohr bug • Heisenbug • Mandelbug • Schroedinbug

  22. Isolating units Content outline: • Capture and replay units • Needs unit control layer

  23. Isolated units Content outline: • Data bases • Compilers • Networking

  24. Log as a program Content outline: • Program as a log file

  25. Logging interaction with the OS Content outline: • Create an example that uses clog

  26. Other interaction types Content outline: • Variables • Time • Other units with possible dependency

  27. Tools Content outline: • WINRUNNER • CHECKPOINT • Others you may find interesting

More Related