Scripting Recipes KWSQA2009

2,161 views

Published on

My 'Scripting Recipes for Testers' presentation at the 2009 KWSQA Conference (April 22, 2009).

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

No Downloads
Views
Total views
2,161
On SlideShare
0
From Embeds
0
Number of Embeds
1,434
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Scripting Recipes KWSQA2009

  1. 1. Scripting Recipes for Testers Adam Goucher Manager of Quality, Zerofootprint Software adam@goucher.ca http://adam.goucher.ca
  2. 2. Code craft is mandatory Reading and writing code extends and accelerates critical thinking
  3. 3. Language Choice Three things you don’t talk about in polite company: sex, politics, language choice
  4. 4. Language Choice There is no such thing as right or wrong, but there is right-er and wrong-er depending on the situation
  5. 5. Increasing Insight Uncover hidden technical debt
  6. 6. Tip: Common Case Converting both sides of a comparison to a common case means you don’t have to worry about case
  7. 7. Tip: YAGNI You Ain’t Gonna Need It
  8. 8. Increase Insight Exploration (or Throw out your scripts)
  9. 9. Increasing Ease Just because something was hard manually doesn’t mean it always has to be hard
  10. 10. Tip: One Line at a Time Simple is better than complex - The Zen of Python
  11. 11. Test Selection Browser Percentages
  12. 12. Tip: Filter the data You are not the customer so you should not be in the data
  13. 13. Tip: Reinvent the wheel Sometimes you can make a better wheel
  14. 14. Tip: YAGNI is heuristic Even though YAGNI, if you can capture it easily then do so
  15. 15. Data Generation Who says randomness in testing is bad?
  16. 16. Tip: Can’t Pronounce? So what?
  17. 17. Tip: Embrace Chaos The world is a random place, why should your data be organized?
  18. 18. Oracles Unlike the one at Delphi, our oracles shouldn’t be stoned on sulphur fumes
  19. 19. Tip: Proximity Things that are related, should be together
  20. 20. Reduce Costs Wouldn’t you like your budget focused on your salary?
  21. 21. Tip: Let scripts evolve Just like all living thing, scripts evolve
  22. 22. Increase Speed We have the technology. ... Better than he was before. Better, stronger, faster.
  23. 23. Go Forth and Script!

×