September 2012      Belfast & DublinJanet Gregory, DragonFire Inc.          Copyright 2012
First agile team – 2000                  Currently – coaching, testing                  Book – Agile Testing; January 2009...
• challenges     • testing activities     • automation          ◦ the pyramid          ◦ where it falls apart     • collab...
• mixed messages by thought leaders     • technology     • distributed teams     • organization cultureCopyright 2012Drago...
Testing activities
Automate at         the feature            levelpushthe       Automate         at the storytests        levellower        ...
Tests / Examples                          passes                            toAPI teststructure         Test Method / Fixt...
TestLogIn                                                            test /                                               ...
• enables testers /          • tests are usually  business to define tests     through the UI• test code can be in        ...
• less abstraction between layers          ◦ presentation vs. business layer     • more logic in the GUI layer     • where...
• JavaScript• Flash• Flex• Ajax• Cross-browser  compatibility• Mobile
So, if we can’t test all (most) functionality at                           the API layer ...                       Any sto...
• ATDD (acceptance test driven development) through the GUI  ◦ Jasmine: BDD framework to test JavaScript  ◦ Sebium: Fit an...
two big questions ....     Do testers need to    know how to code?                      Can                 programmers   ...
• system architecture   ◦ high level (context)   ◦ component levelThx to Lynn McKee for the term technical awareness   15
for example,     • in JavaScript, there is a small, but important       issue with the parseInt function, used to       tr...
Copyright 2012DragonFire Inc.   17
Brian Marick
• slicing stories     • ATDD (acceptance test driven development)     • sharing technical details     • teaching testing s...
Copyright 2012DragonFire Inc.   20
Instead of saying NO,                     or being the gatekeeper                  Be the information provider so         ...
• agile-testing@yahoogroups.com     • www.lisacrispin.com     • http://gojko.net/2010/10/05/rethinking-user-interface-test...
Contact Information                    janet@agiletester.ca                    www.janetgregory.ca                  twitte...
Upcoming SlideShare
Loading in...5
×

Janet Gregory presents Current Testing Challenges with SoftTest Ireland

653

Published on

Visit www.softtest.ie for more information about Irish Software 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
653
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Janet Gregory presents Current Testing Challenges with SoftTest Ireland

  1. 1. September 2012 Belfast & DublinJanet Gregory, DragonFire Inc. Copyright 2012
  2. 2. First agile team – 2000 Currently – coaching, testing Book – Agile Testing; January 2009Copyright 2012DragonFire Inc. 2
  3. 3. • challenges • testing activities • automation ◦ the pyramid ◦ where it falls apart • collaborative solutionsCopyright 2012DragonFire Inc. 3
  4. 4. • mixed messages by thought leaders • technology • distributed teams • organization cultureCopyright 2012DragonFire Inc. 4
  5. 5. Testing activities
  6. 6. Automate at the feature levelpushthe Automate at the storytests levellower Automate at the task level
  7. 7. Tests / Examples passes toAPI teststructure Test Method / Fixture calls Developer CodeCopyright 2012DragonFire Inc.
  8. 8. TestLogIn test / examplesUser Name Password Expected result commentsJanetGregory Password Access system as JanetGregory Valid combo savedJanet Gregory Password Error Space in user name boolean TestLogIn (userName, password, expected result) call LogIn (userName, password) compare (actual result, expected result) if true, return pass test method else / fixture return fail end boolean LogIn (name,pwd) Developer code stuff ……….. code if logged in, return true else return false Copyright 2012 DragonFire Inc. end
  9. 9. • enables testers / • tests are usually business to define tests through the UI• test code can be in • programmers aren’t programming language usually willing to help• programmers can run • tests are implemented tests as they code after the code is written• testers can ask • testers create and programmers for help implement all tests• takes time from ‘coding’ production codeCopyright 2012DragonFire Inc. 9
  10. 10. • less abstraction between layers ◦ presentation vs. business layer • more logic in the GUI layer • where is the separation in tests? • who does what?Copyright 2012DragonFire Inc. 10
  11. 11. • JavaScript• Flash• Flex• Ajax• Cross-browser compatibility• Mobile
  12. 12. So, if we can’t test all (most) functionality at the API layer ... Any stories to share?Copyright 2012DragonFire Inc. 12
  13. 13. • ATDD (acceptance test driven development) through the GUI ◦ Jasmine: BDD framework to test JavaScript ◦ Sebium: Fit and Selenium combined (Cirilo Wortel) ◦ Selenium: possible, but harder ◦ Ruby / Watir: possible, but harder• Unit tests ◦ jQuery Copyright 2012 DragonFire Inc. 13
  14. 14. two big questions .... Do testers need to know how to code? Can programmers do all the testing? 14
  15. 15. • system architecture ◦ high level (context) ◦ component levelThx to Lynn McKee for the term technical awareness 15
  16. 16. for example, • in JavaScript, there is a small, but important issue with the parseInt function, used to transform strings to integers. • the issue arises when we create a Date object from a yyyy-mm-dd string. Could your testers and programmers have a conversation about this?Copyright 2012DragonFire Inc. 16
  17. 17. Copyright 2012DragonFire Inc. 17
  18. 18. Brian Marick
  19. 19. • slicing stories • ATDD (acceptance test driven development) • sharing technical details • teaching testing skills • learning test patterns • learning / teaching design techniques • creating test harnesses, mocks, stubsCopyright 2012DragonFire Inc. 19
  20. 20. Copyright 2012DragonFire Inc. 20
  21. 21. Instead of saying NO, or being the gatekeeper Be the information provider so business can make the decisionsQuestions?Copyright 2012DragonFire Inc. 21
  22. 22. • agile-testing@yahoogroups.com • www.lisacrispin.com • http://gojko.net/2010/10/05/rethinking-user-interface-test- automation/ • http://net.tutsplus.com/tutorials/javascript-ajax/testing-your- javascript-with-jasmine • http://www.software-testing.com.au/blog/2011/01/25/test- automation-styles-and-alternatives-to-the-page-object- pattern/ • www.qualityperspectives.caCopyright 2012DragonFire Inc. 22
  23. 23. Contact Information janet@agiletester.ca www.janetgregory.ca twitter: @janetgregoryca lisa@agiletester.ca www.lisacrispin.com twitter: @lisacrispin www.agiletester.caCopyright 2012DragonFire Inc.
  1. A particular slide catching your eye?

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

×