SlideShare a Scribd company logo
1 of 23
Download to read offline
September 2012
      Belfast & Dublin
Janet Gregory, DragonFire Inc.
          Copyright 2012
First agile team – 2000
                  Currently – coaching, testing
                  Book – Agile Testing; January 2009
Copyright 2012
DragonFire Inc.                                        2
• challenges
     • testing activities
     • automation
          ◦ the pyramid
          ◦ where it falls apart
     • collaborative solutions




Copyright 2012
DragonFire Inc.                    3
• mixed messages by thought leaders
     • technology
     • distributed teams
     • organization culture




Copyright 2012
DragonFire Inc.                            4
Testing activities
Automate at
         the feature
            level
push
the       Automate
         at the story
tests        level

lower
          Automate
          at the task
              level
Tests / Examples
                          passes
                            to

API test
structure         Test Method / Fixture

                           calls



                    Developer Code


Copyright 2012
DragonFire Inc.
TestLogIn                                                            test /
                                                                    examples

User Name     Password Expected result                 comments
JanetGregory Password Access system as JanetGregory    Valid combo saved
Janet 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
• 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 code


Copyright 2012
DragonFire Inc.                                            9
• less abstraction between layers
          ◦ presentation vs. business layer
     • more logic in the GUI layer

     • where is the separation in tests?
     • who does what?




Copyright 2012
DragonFire Inc.                               10
• JavaScript
• Flash
• Flex
• Ajax
• Cross-browser
  compatibility
• Mobile
So, if we can’t test all (most) functionality at
                           the API layer ...

                       Any stories to share?




Copyright 2012
DragonFire Inc.                                              12
• 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
two big questions ....

     Do testers need to
    know how to code?



                      Can
                 programmers
                   do all the
                    testing?

                                14
• system architecture
   ◦ high level (context)
   ◦ component level




Thx 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
       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 2012
DragonFire Inc.                                         16
Copyright 2012
DragonFire Inc.   17
Brian Marick
• slicing stories
     • ATDD (acceptance test driven development)
     • sharing technical details
     • teaching testing skills
     • learning test patterns
     • learning / teaching design techniques
     • creating test harnesses, mocks, stubs


Copyright 2012
DragonFire Inc.                                    19
Copyright 2012
DragonFire Inc.   20
Instead of saying NO,
                     or being the gatekeeper

                  Be the information provider so
                  business can make the decisions

Questions?
Copyright 2012
DragonFire Inc.                                     21
• 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.ca


Copyright 2012
DragonFire Inc.                                                          22
Contact Information
                    janet@agiletester.ca
                    www.janetgregory.ca
                  twitter: @janetgregoryca

                     lisa@agiletester.ca
                    www.lisacrispin.com
                    twitter: @lisacrispin

                    www.agiletester.ca

Copyright 2012
DragonFire Inc.

More Related Content

What's hot

Hands on BDD with cucumber - Agile Goa Sept 2013
Hands on BDD with cucumber -  Agile Goa Sept 2013Hands on BDD with cucumber -  Agile Goa Sept 2013
Hands on BDD with cucumber - Agile Goa Sept 2013
Sonik Chopra
 

What's hot (20)

DevOps & Technical Agility: From Theory to Practice
DevOps & Technical Agility: From Theory to PracticeDevOps & Technical Agility: From Theory to Practice
DevOps & Technical Agility: From Theory to Practice
 
Introduction to Continuous Integration
Introduction to Continuous IntegrationIntroduction to Continuous Integration
Introduction to Continuous Integration
 
Clean Software Design - DevNot Summit Istanbul 2017
Clean Software Design - DevNot Summit Istanbul 2017Clean Software Design - DevNot Summit Istanbul 2017
Clean Software Design - DevNot Summit Istanbul 2017
 
Web based automation testing on Node.js environment
Web based automation testing on Node.js environmentWeb based automation testing on Node.js environment
Web based automation testing on Node.js environment
 
Tests Driven PowerShell Learning
Tests Driven PowerShell LearningTests Driven PowerShell Learning
Tests Driven PowerShell Learning
 
Power-Up Your Test Suite with OLE Automation by Joshua Russell
Power-Up Your Test Suite with OLE Automation by Joshua RussellPower-Up Your Test Suite with OLE Automation by Joshua Russell
Power-Up Your Test Suite with OLE Automation by Joshua Russell
 
API Design - developing for developers
API Design - developing for developersAPI Design - developing for developers
API Design - developing for developers
 
An Introduction to Play 2 Framework
An Introduction to Play 2 FrameworkAn Introduction to Play 2 Framework
An Introduction to Play 2 Framework
 
Continuous Testing Meets the Classroom at Code.org
Continuous Testing Meets the Classroom at Code.orgContinuous Testing Meets the Classroom at Code.org
Continuous Testing Meets the Classroom at Code.org
 
API World 2016 - A five-sided prism polarizing Web API development
API World 2016 - A five-sided prism polarizing Web API developmentAPI World 2016 - A five-sided prism polarizing Web API development
API World 2016 - A five-sided prism polarizing Web API development
 
Using the latest Java Persistence API 2 Features - Tech Days 2010 India
Using the latest Java Persistence API 2 Features - Tech Days 2010 IndiaUsing the latest Java Persistence API 2 Features - Tech Days 2010 India
Using the latest Java Persistence API 2 Features - Tech Days 2010 India
 
Test driven development
Test driven developmentTest driven development
Test driven development
 
Coding Naked
Coding NakedCoding Naked
Coding Naked
 
Hands on BDD with cucumber - Agile Goa Sept 2013
Hands on BDD with cucumber -  Agile Goa Sept 2013Hands on BDD with cucumber -  Agile Goa Sept 2013
Hands on BDD with cucumber - Agile Goa Sept 2013
 
Code metrics in PHP
Code metrics in PHPCode metrics in PHP
Code metrics in PHP
 
Souvik_CV
Souvik_CVSouvik_CV
Souvik_CV
 
Javantura v4 - What’s NOT new in modular Java - Milen Dyankov
Javantura v4 - What’s NOT new in modular Java - Milen DyankovJavantura v4 - What’s NOT new in modular Java - Milen Dyankov
Javantura v4 - What’s NOT new in modular Java - Milen Dyankov
 
Jbossworld Presentation
Jbossworld PresentationJbossworld Presentation
Jbossworld Presentation
 
Test Driven Development - Workshop
Test Driven Development - WorkshopTest Driven Development - Workshop
Test Driven Development - Workshop
 
SatishKumar_Prolifics
SatishKumar_ProlificsSatishKumar_Prolifics
SatishKumar_Prolifics
 

Similar to Janet Gregory presents Current Testing Challenges with SoftTest Ireland

Lessons learned in agile romania
Lessons learned in agile romaniaLessons learned in agile romania
Lessons learned in agile romania
OpenAgile Romania
 
The Seven Deadly Coding Sins Slides
The Seven Deadly Coding Sins SlidesThe Seven Deadly Coding Sins Slides
The Seven Deadly Coding Sins Slides
mobiledevnj
 
Shailaja_SoftwareEngineerQA_4.9Exp
Shailaja_SoftwareEngineerQA_4.9ExpShailaja_SoftwareEngineerQA_4.9Exp
Shailaja_SoftwareEngineerQA_4.9Exp
Shailaja Chundru
 
Testing and beyond at startups
Testing and beyond at startupsTesting and beyond at startups
Testing and beyond at startups
Mona Soni
 

Similar to Janet Gregory presents Current Testing Challenges with SoftTest Ireland (20)

Testing Challenges within Agile Teams
Testing Challenges within Agile TeamsTesting Challenges within Agile Teams
Testing Challenges within Agile Teams
 
Planning Your Agile Testing: A Practical Guide
Planning Your Agile Testing: A Practical GuidePlanning Your Agile Testing: A Practical Guide
Planning Your Agile Testing: A Practical Guide
 
Developer Experience to Testing
Developer Experience to TestingDeveloper Experience to Testing
Developer Experience to Testing
 
Lessons learned in agile romania
Lessons learned in agile romaniaLessons learned in agile romania
Lessons learned in agile romania
 
Android testing
Android testingAndroid testing
Android testing
 
Functional testing patterns
Functional testing patternsFunctional testing patterns
Functional testing patterns
 
Approval Tests at Agile 2012
Approval Tests at Agile 2012Approval Tests at Agile 2012
Approval Tests at Agile 2012
 
Spec(ing) Out Your Workflow with SpecFlow
Spec(ing) Out Your Workflow with SpecFlowSpec(ing) Out Your Workflow with SpecFlow
Spec(ing) Out Your Workflow with SpecFlow
 
Automated Acceptance Tests & Tool choice
Automated Acceptance Tests & Tool choiceAutomated Acceptance Tests & Tool choice
Automated Acceptance Tests & Tool choice
 
The Seven Deadly Coding Sins Slides
The Seven Deadly Coding Sins SlidesThe Seven Deadly Coding Sins Slides
The Seven Deadly Coding Sins Slides
 
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
 
Battle of The Mocking Frameworks
Battle of The Mocking FrameworksBattle of The Mocking Frameworks
Battle of The Mocking Frameworks
 
Behavior Driven Development by Example
Behavior Driven Development by ExampleBehavior Driven Development by Example
Behavior Driven Development by Example
 
Testing on Android
Testing on AndroidTesting on Android
Testing on Android
 
Growing Trends of Open Source UI Frameworks
Growing Trends of Open Source UI FrameworksGrowing Trends of Open Source UI Frameworks
Growing Trends of Open Source UI Frameworks
 
Javascript Tests with Jasmine for Front-end Devs
Javascript Tests with Jasmine for Front-end DevsJavascript Tests with Jasmine for Front-end Devs
Javascript Tests with Jasmine for Front-end Devs
 
Shailaja_SoftwareEngineerQA_4.9Exp
Shailaja_SoftwareEngineerQA_4.9ExpShailaja_SoftwareEngineerQA_4.9Exp
Shailaja_SoftwareEngineerQA_4.9Exp
 
DS, BP, EJB, CDI, WTF!? - Graham Charters
DS, BP, EJB, CDI, WTF!? - Graham ChartersDS, BP, EJB, CDI, WTF!? - Graham Charters
DS, BP, EJB, CDI, WTF!? - Graham Charters
 
Testing experience - Vision team, Mar 2016
Testing experience - Vision team, Mar 2016Testing experience - Vision team, Mar 2016
Testing experience - Vision team, Mar 2016
 
Testing and beyond at startups
Testing and beyond at startupsTesting and beyond at startups
Testing and beyond at startups
 

More from David O'Dowd

Current Testing Challenges Ireland
Current Testing Challenges IrelandCurrent Testing Challenges Ireland
Current Testing Challenges Ireland
David O'Dowd
 
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ieGordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ie
David O'Dowd
 
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
David O'Dowd
 
Intune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ieIntune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ie
David O'Dowd
 
Mobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ieMobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ie
David O'Dowd
 
HMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ieHMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ie
David O'Dowd
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
David O'Dowd
 

More from David O'Dowd (20)

Current Testing Challenges Ireland
Current Testing Challenges IrelandCurrent Testing Challenges Ireland
Current Testing Challenges Ireland
 
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ieGordon baisley - eircom - Introducing the EDM role with www.softtest.ie
Gordon baisley - eircom - Introducing the EDM role with www.softtest.ie
 
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
Subhendu Mohapatra - BearingPoint - Environments Management talk with www.sof...
 
Intune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ieIntune Agile Testing Talk with www.softtest.ie
Intune Agile Testing Talk with www.softtest.ie
 
Mobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ieMobile Testing Challenges Lighting Talk with www.softtest.ie
Mobile Testing Challenges Lighting Talk with www.softtest.ie
 
HMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ieHMH Agile Testing Lightning Talk with www.softtest.ie
HMH Agile Testing Lightning Talk with www.softtest.ie
 
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip BannonSoft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
Soft Test Ireland - Introduction to Jakarta Jmeter - Philip Bannon
 
www.softtest.ie presents Selenium 2 With David Burn's
www.softtest.ie presents Selenium 2 With David Burn'swww.softtest.ie presents Selenium 2 With David Burn's
www.softtest.ie presents Selenium 2 With David Burn's
 
Agile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ieAgile Test Management - www.softtest.ie
Agile Test Management - www.softtest.ie
 
Michael Bolton - Two futures of software testing - Sept 2010
Michael Bolton - Two futures of software testing - Sept 2010Michael Bolton - Two futures of software testing - Sept 2010
Michael Bolton - Two futures of software testing - Sept 2010
 
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest IrelandMarkus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
Markus Clermont - Surviving in an Agile Environment - Google - SoftTest Ireland
 
Whittaker How To Break Software Security - SoftTest Ireland
Whittaker How To Break Software Security - SoftTest IrelandWhittaker How To Break Software Security - SoftTest Ireland
Whittaker How To Break Software Security - SoftTest Ireland
 
David Parnas - Documentation Based Software Testing - SoftTest Ireland
David Parnas - Documentation Based Software Testing - SoftTest IrelandDavid Parnas - Documentation Based Software Testing - SoftTest Ireland
David Parnas - Documentation Based Software Testing - SoftTest Ireland
 
James Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environmentJames Lyndsay - Testing in an agile environment
James Lyndsay - Testing in an agile environment
 
Neil Tompson - SoftTest Ireland
Neil Tompson - SoftTest IrelandNeil Tompson - SoftTest Ireland
Neil Tompson - SoftTest Ireland
 
Neil Thompson - Thinking tools: from top motors, through software process imp...
Neil Thompson - Thinking tools: from top motors, through software process imp...Neil Thompson - Thinking tools: from top motors, through software process imp...
Neil Thompson - Thinking tools: from top motors, through software process imp...
 
Tester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
Tester's are doing it for themselves - Julie Gardiner - SoftTest IrelandTester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
Tester's are doing it for themselves - Julie Gardiner - SoftTest Ireland
 
Test Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For SucesssTest Automation: A Roadmap For Sucesss
Test Automation: A Roadmap For Sucesss
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005
 
Steven K Allott - Effective Testing - SoftTest Ireland
Steven K Allott - Effective Testing - SoftTest IrelandSteven K Allott - Effective Testing - SoftTest Ireland
Steven K Allott - Effective Testing - SoftTest Ireland
 

Recently uploaded

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Janet Gregory presents Current Testing Challenges with SoftTest Ireland

  • 1. September 2012 Belfast & Dublin Janet Gregory, DragonFire Inc. Copyright 2012
  • 2. First agile team – 2000 Currently – coaching, testing Book – Agile Testing; January 2009 Copyright 2012 DragonFire Inc. 2
  • 3. • challenges • testing activities • automation ◦ the pyramid ◦ where it falls apart • collaborative solutions Copyright 2012 DragonFire Inc. 3
  • 4. • mixed messages by thought leaders • technology • distributed teams • organization culture Copyright 2012 DragonFire Inc. 4
  • 6. Automate at the feature level push the Automate at the story tests level lower Automate at the task level
  • 7. Tests / Examples passes to API test structure Test Method / Fixture calls Developer Code Copyright 2012 DragonFire Inc.
  • 8. TestLogIn test / examples User Name Password Expected result comments JanetGregory Password Access system as JanetGregory Valid combo saved Janet 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. • 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 code Copyright 2012 DragonFire Inc. 9
  • 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 2012 DragonFire Inc. 10
  • 11. • JavaScript • Flash • Flex • Ajax • Cross-browser compatibility • Mobile
  • 12. So, if we can’t test all (most) functionality at the API layer ... Any stories to share? Copyright 2012 DragonFire Inc. 12
  • 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. two big questions .... Do testers need to know how to code? Can programmers do all the testing? 14
  • 15. • system architecture ◦ high level (context) ◦ component level Thx to Lynn McKee for the term technical awareness 15
  • 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 2012 DragonFire Inc. 16
  • 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, stubs Copyright 2012 DragonFire Inc. 19
  • 21. Instead of saying NO, or being the gatekeeper Be the information provider so business can make the decisions Questions? Copyright 2012 DragonFire Inc. 21
  • 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.ca Copyright 2012 DragonFire Inc. 22
  • 23. Contact Information janet@agiletester.ca www.janetgregory.ca twitter: @janetgregoryca lisa@agiletester.ca www.lisacrispin.com twitter: @lisacrispin www.agiletester.ca Copyright 2012 DragonFire Inc.