Test Automation in
Brownfield Applications
My name is Shawn and
I’m a software developer
A programmer is going out for a stroll one
evening. His wife asks him to swing by the
store and pick up a gallon of milk, ...
4
Our existences are about
precise communication...and
communication is about
feedback loops
Our existences are about
precise communication...and
communication is about
feedback loops
7
Time

8
Release to 	

Test

Release to	

Production
Time

8
Late Defect Discovery Results in
Significant Rework

Release to 	

Test

Release to	

Production
Time

8
Release to 	

Test

Release to	

Production
Time

9
Release toRelease to	

	

Test Production
Time

9
Let’s shift the focus from
Bug detection to bug
prevention.
http://www.isixsigma.com/industries/software-it/software-defectprevention-nutshell/
11
Functional Acceptance Test
Automation
• Implementing changes more efficiently
• Shortened feedback loop
• Higher product q...
Functional Acceptance Test
Automation
• Implementing changes more efficiently
• Shortened feedback loop
• Higher product q...
14
14
Workflow

15
Brownfield
Applications
Can we benefit?
Can we benefit?
We can improve our system going
forward
!

The goal is building quality systems
that provide value
How to start
How to start
•

Test KEY use cases
How to start
•

Test KEY use cases

•

Test defects
How to start
•

Test KEY use cases

•

Test defects

•

Test new features
Your application might be
hard to test
There are engineering
challenges
There are infrastructure
challenges
How will you deal with
the new volume of data?
How will you deal with
the new volume of data?
Test automation generates TONS of data, some good some bad,
all must be pro...
How do we know if
we’re doing a good job?
Meaningful code coverage
is hard.
• Your code might be hard to test
• There are engineering challenges
• There are infrastructure challenges
• If a goal is ...
Shawn Wallace
!

shawn.wallace@centricconsulting.com	

Twitter: @ShawnWallace	

Blog: blog.shawnewallace.com	

http://www....
Q&A
For more information...
• This Presentation on GitHub - https://github.com/shawnewallace/intro-to-atdd.git
• cukes.inf...
Shawn Wallace - Test automation in brownfield applications
Shawn Wallace - Test automation in brownfield applications
Shawn Wallace - Test automation in brownfield applications
Upcoming SlideShare
Loading in …5
×

Shawn Wallace - Test automation in brownfield applications

844 views

Published on

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

No Downloads
Views
Total views
844
On SlideShare
0
From Embeds
0
Number of Embeds
304
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Shawn Wallace - Test automation in brownfield applications

  1. 1. Test Automation in Brownfield Applications
  2. 2. My name is Shawn and I’m a software developer
  3. 3. A programmer is going out for a stroll one evening. His wife asks him to swing by the store and pick up a gallon of milk, and if they had eggs, to get a dozen. He returned with twelve gallons of milk and said "They had eggs." 3
  4. 4. 4
  5. 5. Our existences are about precise communication...and communication is about feedback loops
  6. 6. Our existences are about precise communication...and communication is about feedback loops
  7. 7. 7
  8. 8. Time 8
  9. 9. Release to Test Release to Production Time 8
  10. 10. Late Defect Discovery Results in Significant Rework Release to Test Release to Production Time 8
  11. 11. Release to Test Release to Production Time 9
  12. 12. Release toRelease to Test Production Time 9
  13. 13. Let’s shift the focus from Bug detection to bug prevention.
  14. 14. http://www.isixsigma.com/industries/software-it/software-defectprevention-nutshell/ 11
  15. 15. Functional Acceptance Test Automation • Implementing changes more efficiently • Shortened feedback loop • Higher product quality • Less rework • Better work alignment to priority • Helps make systems easier to modify • Regression 12
  16. 16. Functional Acceptance Test Automation • Implementing changes more efficiently • Shortened feedback loop • Higher product quality • Less rework • Better work alignment to priority • Helps make systems easier to modify • Regression 13
  17. 17. 14
  18. 18. 14
  19. 19. Workflow 15
  20. 20. Brownfield Applications
  21. 21. Can we benefit?
  22. 22. Can we benefit? We can improve our system going forward ! The goal is building quality systems that provide value
  23. 23. How to start
  24. 24. How to start • Test KEY use cases
  25. 25. How to start • Test KEY use cases • Test defects
  26. 26. How to start • Test KEY use cases • Test defects • Test new features
  27. 27. Your application might be hard to test
  28. 28. There are engineering challenges
  29. 29. There are infrastructure challenges
  30. 30. How will you deal with the new volume of data?
  31. 31. How will you deal with the new volume of data? Test automation generates TONS of data, some good some bad, all must be processed.
  32. 32. How do we know if we’re doing a good job?
  33. 33. Meaningful code coverage is hard.
  34. 34. • Your code might be hard to test • There are engineering challenges • There are infrastructure challenges • If a goal is a shortened feedback loop, how will you deal with the new volume of data? • How do we know if we’re doing a good job? • Meaningful code coverage is a challenge. 26
  35. 35. Shawn Wallace ! shawn.wallace@centricconsulting.com Twitter: @ShawnWallace Blog: blog.shawnewallace.com http://www.about.me/shawnwallace
  36. 36. Q&A For more information... • This Presentation on GitHub - https://github.com/shawnewallace/intro-to-atdd.git • cukes.info • Gojko Adzic – cuke4ninja.com – Specification by Example • https://github.com/aslakhellesoy/cucumber/wiki • http://groups.google.com/group/cukes • http://www.cheezyworld.com • The Cucumber Book, Matt Wayne, Aslak Hellesøy: http://pragprog.com/book/hwcuc/thecucumber-book • The Rspec Book, David Chelimsky: http://www.pragprog.com/titles/achbd/the-rspecbook • http://simpleprogrammer.com/2011/11/21/ understanding-the-vertical-slice/ • http://www.deltamatrix.com/2012-04-17-04-37-50/ horizontal-and-vertical-user-stories-slicing-the-cake

×