Testing Workshop A crash(-free) course on testing with Python
Prerequisites <ul><li>Basic Python knowledge
That's it! </li></ul>
Feel free to... <ul>...ask questions ...code along ...eat, drink and be merry We will aim to have a break! </ul>
Plan <ul><li>Part 1: Introduction to Testing
Part 2: Testing with Python </li><ul><ul><ul><ul><ul><ul><ul><li>REPL / Interpreter
Doctests
Unittest </li></ul></ul></ul></ul></ul></ul></ul><li>Part 3: Mocking </li></ul>
Part 1: Introduction to Testing http://www.flickr.com/photos/dopey/123646856/
What is testing? Any ideas?
&quot;Testing means checking it works&quot; Source: a younger, less experienced me.
Software testing can be stated as the process of validating and verifying that a software program/application/product: 1. ...
Validation: Are we building the software right?
Verification: Are we building the right software?
Validation: <ul><li>Unit testing
Component testing
Integration testing
Performance testing
Load testing
Upcoming SlideShare
Loading in...5
×

PyCon UK 2011 - Testing Workshop - Part 1

812

Published on

Overview of the types of testing.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
812
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

PyCon UK 2011 - Testing Workshop - Part 1

  1. 1. Testing Workshop A crash(-free) course on testing with Python
  2. 2. Prerequisites <ul><li>Basic Python knowledge
  3. 3. That's it! </li></ul>
  4. 4. Feel free to... <ul>...ask questions ...code along ...eat, drink and be merry We will aim to have a break! </ul>
  5. 5. Plan <ul><li>Part 1: Introduction to Testing
  6. 6. Part 2: Testing with Python </li><ul><ul><ul><ul><ul><ul><ul><li>REPL / Interpreter
  7. 7. Doctests
  8. 8. Unittest </li></ul></ul></ul></ul></ul></ul></ul><li>Part 3: Mocking </li></ul>
  9. 9. Part 1: Introduction to Testing http://www.flickr.com/photos/dopey/123646856/
  10. 10. What is testing? Any ideas?
  11. 11. &quot;Testing means checking it works&quot; Source: a younger, less experienced me.
  12. 12. Software testing can be stated as the process of validating and verifying that a software program/application/product: 1. meets the requirements that guided its design and development; 2. works as expected; and 3. can be implemented with the same characteristics. http://en.wikipedia.org/wiki/Software_testing
  13. 13. Validation: Are we building the software right?
  14. 14. Verification: Are we building the right software?
  15. 15. Validation: <ul><li>Unit testing
  16. 16. Component testing
  17. 17. Integration testing
  18. 18. Performance testing
  19. 19. Load testing
  20. 20. Security testing </li></ul>
  21. 21. Verification: <ul><li>Functional testing
  22. 22. Exploratory testing
  23. 23. Usability testing
  24. 24. Acceptance testing
  25. 25. Prototypes
  26. 26. Simulations </li></ul>
  27. 27. Exploratory Tests Usability Tests Acceptance Tests Performance Tests Load Tests Security Tests Unit Tests Component Tests Integration Tests Functional Tests Prototypes Simulations Business-Facing Technology-Facing Support the Team Critique the Product
  28. 28. Credit goes to &quot;Agile Testing&quot; by Lisa Crispin and Janet Gregory...
  29. 29. Performance Tests Security Tests Manual & Automated Business-facing Tests against specification Mock-ups and prototypes Functional Tests Prototypes Simulations
  30. 30. Exploratory Tests Usability Tests Acceptance Tests Unit Tests Component Tests Integration Tests Manual Business-facing Critique the product Elicit feedback
  31. 31. Unit Tests Component Tests Integration Tests Manual & Automated Technology-facing Critique the product Often overlooked! Performance Tests Load Tests Security Tests
  32. 32. Exploratory Tests Usability Tests Acceptance Tests Performance Tests Security Tests Unit Tests Component Tests Integration Tests Automated Technology-facing Support the team Internal quality checking!
  33. 33. Time for a break?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×