[Agile By Example 2012] Outside-In Testing step by step

1,241 views

Published on

This presentation is walk-through on how to convert user stories into working test suite, in the context of Ruby on Rails platform. Live coding part is available here: https://vimeo.com/54706598

We'll start by quickly examining the application we are going to work with and define our to-implement user story, along with scenarios and corresponding wireframes.

Next, I am going to talk about the process of mapping the information from user story into an end-to-end acceptance test. Having acceptance test prepared, we'll move to writing integration and unit tests. The focus will be put on how tester/developer is going through the stack of different test types, from acceptance, to integration and unit tests.

Finally, before we call it a day, we'll review each test type in terms of value it brings to the suite, asking ourselves a question: "do we really want to maintain *all* of these tests?"

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
1,241
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

[Agile By Example 2012] Outside-In Testing step by step

  1. 1. Outside-in Testing step by step Michał Czyż from Selleo @cs3bMonday, October 22, 12
  2. 2. Monday, October 22, 12
  3. 3. http://3.bp.blogspot.com/-kxhKjVNu-KQ/TZ06agwxY1I/AAAAAAAAAMs/AtZl2bYSsqQ/s760/spiral%2Bmirror.jpgMonday, October 22, 12
  4. 4. http://mrs-which.blogspot.com/2010/12/refactoring-reverb10-reflection.htmlMonday, October 22, 12
  5. 5. http://www.acuitysolutions.co.uk/Sage_Business_Partner/image/dia1_large.jpgMonday, October 22, 12
  6. 6. Monday, October 22, 12
  7. 7. see whats left on my plate, and what should be done nextMonday, October 22, 12
  8. 8. take the most important task and completeMonday, October 22, 12
  9. 9. see tasks assigned to myself, only uncompleted and they should be ordered according to priorityMonday, October 22, 12
  10. 10. define task for other usersMonday, October 22, 12
  11. 11. • define task for other usersMonday, October 22, 12
  12. 12. • define task for other users • see tasks assigned to myself, only uncompleted and they should be ordered according to priorityMonday, October 22, 12
  13. 13. • define task for other users • see tasks assigned to myself, only uncompleted and they should be ordered according to priority • take the most important task and completeMonday, October 22, 12
  14. 14. see whats left on my plate, and what should be done next • define task for other users • see tasks assigned to myself, only uncompleted and they should be ordered according to priority • take the most important task and completeMonday, October 22, 12
  15. 15. Monday, October 22, 12
  16. 16. http://1.bp.blogspot.com/_XtAja2nfIPE/TQFKVCcVjmI/AAAAAAAABP0/lyymyJjjt2Y/s1600/ruby-logo-512.pngMonday, October 22, 12
  17. 17. http://blog.jonasbandi.net/2010/09/acceptance-vs-integration-tests.htmMonday, October 22, 12
  18. 18. Monday, October 22, 12
  19. 19. Outside-in thinking complements any approach your teams may be taking to the actual implementation of software, but it changes how you measure success.   A successful outside-in team does a lot of learning and Tom Poppendieck not much speculation. http://www.poppendieck.com/images/Tom-Web.jpgMonday, October 22, 12
  20. 20. • https://github.com/cs3b/tasks/tree/feature/abe_start • http://www.ibmpressbooks.com/bookstore/product.asp? isbn=0131575511 • http://www.growing-object-oriented-software.com • http://blog.selleo.com • http://www.selleo.comMonday, October 22, 12

×