SlideShare a Scribd company logo
1 of 35
Testing in Agile




    http://qtp.blogspot.com   1
Table of contents
1.  Traditional style QA
2.  Agile Approaches
3.  An Agile Tester
4.  Traditional vs. Agile
5.  Role Testers Play
6.  Testing & Testers on Agile Projects
7. Question: While a developer is coding a task, it is impossible for a tester to
    test it (it doesn't exist yet). What then is the role of a tester at this point.
8. Question: Is the tester now involved in unit testing? Is this done parallel to
    black box testing?
9. Question: What does the tester do during a sprint where primarily
    infrastructural changes have been made, that may only be testable in unit
    testing?
10. Specific Technical Skills For Agile Tester‟s Toolkit

                                  http://qtp.blogspot.com                              2
Traditional Style Quality Assurance



        Process and tools are a key part of QA and Testing.

        QA people seem to love documentation.

        QA people want to see the written specification.

        And where is testing without a plan?

        So, is there a role for QA in Agile projects?

        Maybe, but the role is different, the tasks are different.




                                             http://qtp.blogspot.com   3
Agile approaches are changing the conversation
about software development



        Agile shifted our attention to small teams.
        .
        Incrementally delivering quality software.

        The old ideas about testing at the end of the coding phase no longer applicable.

        We need to think about the role of Quality.

        Assurance in Agile Projects.

        Definitely NOT business-as-usual.




                                       http://qtp.blogspot.com                             4
An Agile Tester
 A professional tester who embraces
 change, collaborates well with both technical and
 business people, and understands the concept of
 using tests to document requirements and drive
 development.
 Agile testers tend to have good technical
 skills, know how to collaborate with others to
 automate tests, and are also experienced
 exploratory testers.
 They‟re willing to learn what customers do so that
 they can better understand the customers‟
 software requirements.

                    http://qtp.blogspot.com           5
Traditional vs. Agile Testing
Phased Model e.g. Waterfall


 Requirements            Specifications              Code             Testing             Release

                                              Time




                                                                                    Agile:
                                                                      F             Iterative & Incremental
                                                                      E
                                                                                  Each story is expanded, coded & tested
                                                       D                  D       Possible release after each iteration
                                    C                  C                  C
               A     B          A       B          A       B          A       B

                                            http://qtp.blogspot.com                                            6
Traditional vs. Agile Testing
Traditional                                             Agile
In the phased approach diagram (see previous            Agile is iterative and incremental (see previous
slide), it is clear that testing happens at the end,    slide). This means that the testers test each
right before release. The diagram is idealistic,        increment of coding as soon as it is finished. An
because it gives the impression there is as much        iteration might be as short as one week, or as
time for testing as there is for coding. In many        long as a month. The team builds and tests a little
projects, this is not the case. The testing gets        bit of code, making sure it works correctly, and
“squished” because coding takes longer than             then moves on to next piece that needs to be
expected, and because teams get into a code-            built. Programmers never get ahead of the
and-fix cycle at the end.                               testers, because a story is not “done” until it has
                                                        been tested.
Tests are usually created from a requirements           Rather than creating tests from a requirements
document.                                               document that was created by business analysts
                                                        before anyone ever thought of writing a line of
                                                        code, someone will need to write tests that
                                                        illustrate the requirements for each story days or
                                                        hours before coding begins.




                                            http://qtp.blogspot.com                                          7
Role Testers Play
   The role of the tester with agile methods is an area that has received increasing attention.
   Initially with a focus on unit testing and „acceptance‟ testing it appeared the system tester
   did not have a role in agile.


    Unit Testing
                                         Acceptance
                                           Testing          &              System Testers are no longer
                                                                                    required?



                                   Typical responsibilities for testers in agile can include (not limited to):
As Cem Kaner put it:
„The nature of the tester's role
changes in iterative projects.             • Facilitate communication between the technical & business stakeholders
                                     1
We are no longer the high-
profile victims, we are no           2
                                           • Support early validation of requirements
longer the lonely advocates of
quality, we are merely (!)                 • Help the business stakeholders define acceptance criteria
                                     3
competent service
providers, collaborating with a            • Create automated acceptance tests
group that wants to achieve          4
high quality.‟
                                           • Perform manual/exploratory tests on early-stage code
                                                 http://qtp.blogspot.com                                         8
                                     5
Testing and Testers on Agile Projects




                 http://qtp.blogspot.com   9
It comes as no surprise to testers that
working software is not the same as code –
the tester clearly needs to be involved in not
only assessing the product, but in deciding
how the product is to be assessed.
However, with automated unit tests in the
hands of the coders, and confirmation-
focused acceptance testing driven by the
customer, testers should be aware that they
will not be the sole – or even the primary –
owner of deciding what works, and what
doesn‟t.


                  http://qtp.blogspot.com        10
Testers need to be able to interact directly
 with designers and coders to understand the
 technological imperatives and restrictions that
 affect the software and its unit tests.



Conversations and shared
understandings
                                                   Overall less
                                                 documentation
       will take the                                required
         place of

some documentation     http://qtp.blogspot.com                11
Testing will be driven by what is important to a user, rather than to
fulfill a procedural requirement. It is better to have communication
between tester, customer and designer than to maintain
independence of the test team.

In practice, it is common to find large-scale automated unit
testing on agile projects, to confirm that code works as expected.
The product will be judged by the customer typically by
manual, confirmatory tests, with close observation for
undesirable behaviors. Testing by testers is often driven by the
need to measure the system‟s performance and to find surprises
– tools are very much in evidence, but rigid test scripts and
procedures do not give the requisite opportunity for
discovery, diagnosis and exploitation.




                          http://qtp.blogspot.com                  12
Testers are key collaborators with the customer, and on
some agile projects will take on much of the role of the
customer in designing and executing confirmation-driven
acceptance tests. However, although testers traditionally
make good customer advocates, working closely with a
customer is preferable to becoming a proxy.
Test strategies which lean heavily on an unchanging set
of requirements (for example: designing and coding tests to be
bought together with code late in the project; prioritizing tests based on
a fixed risk assessment; testing only what has been agreed in the
contract; reporting bugs only against fixed requirements) may be
considered to be fatally flawed in the light of this value.
Iterative collaboration is favored over a negotiated bill of
work.



                             http://qtp.blogspot.com                         13
While a developer is coding a task, it is
impossible for a tester to test it (it doesn't
exist yet). What then is the role of a tester
at this point.




                  http://qtp.blogspot.com        14
Testers can prepare their test plans, test
cases, and automated tests for the user
stories before (or while) they are
implemented. This helps the team
discover any inconsistency or ambiguity
in the user stories even before the
developers write any code.



                http://qtp.blogspot.com      15
The tester could be working with the
customer to fine tune the stories in the
sprint.




                 http://qtp.blogspot.com   16
They can often be involved in designing
the tests that the coder will write to perform
TDD.




                 http://qtp.blogspot.com     17
If the agile team is fairly advanced then the
tester would normally be writing the ATDD
(Acceptance Test Driven Development)
tests. These could be in a tool such as
Fitnesse or Robot Framework or they
could be more advanced ruby tests or
even some other programming language.
Or in some cases, simple record and
playback can often be beneficial for a
small number of tests.

                 http://qtp.blogspot.com    18
They would obviously be writing planning
some exploratory testing scenarios or
ideas.




               http://qtp.blogspot.com     19
The tricky thing to comprehend sometimes
for the team is that the story does not have
to be complete in order to drop it to the test
stack for testing. For example the coders
could drop a screen with half of the fields
planned on it. The tester could test this
half whilst the other half is being coded
and hence feedback in with early test
results. Testing doesn't have to take place
on "finished" stories.

                  http://qtp.blogspot.com        20
Is the tester now involved in unit testing?
Is this done parallel to black box testing?




                 http://qtp.blogspot.com      21
Don’t do                                Testers only test code that
Testers                     Unit Tests               passes all of the automated
                                                     unit, integration and acceptance
                                                     tests, which are all written by
                                                     the developers. This split may
                                                     be different elsewhere, though;
                                                     for example your testers could
                                                     be writing automated
                                                     acceptance tests.




    The whole point of unit tests is to test
   the software is correct to avoid wasting
    time later down the line. It's all about
               instant feedback

                               http://qtp.blogspot.com                              22
What does the tester do during a sprint
where primarily infrastructural changes
have been made, that may only be
testable in unit testing?




                http://qtp.blogspot.com   23
Testers workload will vary between
sprints, but regression tests still need to be
run on these changes...




                 http://qtp.blogspot.com     24
You may also find that having the testers
spend the first couple of days of each sprint
testing the tasks from the previous sprint may
help, however it's better to get them to nail
down the things that the developers are going
to be working on by writing their test plans.




                 http://qtp.blogspot.com     25
Ensure that project or sprint requirements are
clear, measurable and testable. In an ideal
world each requirement will have a fit criterion
written down at this stage. Determine what
information needs to be automatically logged
to troubleshoot any defects.




                 http://qtp.blogspot.com           26
Prepare a project specific test strategy and
determine which QA steps are going to be
required and at which project stages:
integration, stress, compatibility, usability, perf
ormance, beta testing etc. Determine
acceptable defect thresholds and work out
classification system for defect
severity, specify guidelines for defect
reporting.


                 http://qtp.blogspot.com          27
Specify, arrange and prepare test environment:
test infrastructure and mock services as
necessary; prepare test data; write scripts to
quickly refresh test environment when necessary;
establish processes for defect
tracking, communication and resolution; prepare
for recruitment or recruit users for beta, usability
or acceptance testing. Write test scripts.




                  http://qtp.blogspot.com          28
Ideally the tester would be working with the team
and the customer (who by the way, is part of the
team!) to define the planned stories and build in
some good, detailed acceptance criteria. This is
invaluable and can save loads of time later down
the line. The tester could also be learning new
automation techniques, planning test
environments, helping to document the outcome
of the planning.


                  http://qtp.blogspot.com       29
Specific Technical Skills For Agile
          Tester‟s Toolkit




             http://qtp.blogspot.com   30
Automation Skills



                    For automation to             -> we need to apply
                        succeed ->               good design practices




                                                              a single &
     We strive to keep each automated test to
                                                              clear purpose



     Learn how to evaluate and choose the right tools, so you
     can help your team create maintainable automated
     regression tests. You can free up time for essential testing
     activities such as exploratory testing.
                                 http://qtp.blogspot.com                      31
Acceptance Test-driven Development


       Communication skills and good domain
       understanding enable testers to help business
       experts give good examples of both desired and
       undesired system behavior.



       We can turn these examples into tests that
       help the programmers understand what code to
       write. This is called acceptance test-driven
        development, and it is a major step toward
       building quality into the code and preventing defects.


                                     http://qtp.blogspot.com   32
Learning Styles


                                auditory                    learn by
             Learning           learners                    listening
              Styles              visual                     Learn by
                                learners                   see pictures



      We all have blind spots that may prevent us from learning or triggers
     where we shut down and don‟t hear the message anymore. Keep
     your emotional “hot buttons” in mind and focus on what you can learn
     from instructors, material, or teammates to enhance your abilities.
     Mentors with different backgrounds or from other industries besides
     testing and software development might work best with your learning
     style. Don‟t limit yourself to coaches, mentors, and instructors who
     work specifically in software testing.

                                 http://qtp.blogspot.com                      33
Learning Resources Examples


         Many good software

         Testing books

         Plenty of free material on the Internet

         Resources your peers can provide

         Communities of practice are another good place to
         find mentors and learn together

         Conferences are an obvious way to get a lot of new
         ideas in a very short period of time

         Mailing lists and social networks

         Testing communities, such as Weekend Testers
                                     http://qtp.blogspot.com   34
References
• AGILE TESTING A PRACTICAL GUIDE FOR TESTERS AND AGILE
  TEAMS by Lisa Crispin & Janet Gregory
• http://sqa.stackexchange.com/questions/1824/the-role-of-a-
  software-tester-in-an-agile-environment
• http://searchsoftwarequality.techtarget.com/news/1243805/Role-
  of-testing-in-agile-projects
• http://www.kohl.ca/blog/archives/000116.html
• http://www.mcbreen.ab.ca/talks/CAMUG.pdf
• http://newsweaver.ie/qualtech/e_article000847213.cfm?x=b11,0,w
• http://stackoverflow.com/questions/1640911/role-of-testers-in-
  agile
• LEARNING FOR AGILE TESTERS, Part 2 by Lisa Crispin and Janet
  Gregor, Better Software Magazine Sept/Oct 2011


                          http://qtp.blogspot.com              35

More Related Content

What's hot

Testing and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons LearnedTesting and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons Learned
LB Denker
 
Agile Adoption Story in LGE (Aps2010)
Agile Adoption Story in LGE (Aps2010)Agile Adoption Story in LGE (Aps2010)
Agile Adoption Story in LGE (Aps2010)
Woogon Shim
 

What's hot (20)

About Agile Testing Alliance (ATA)
About Agile Testing Alliance (ATA)About Agile Testing Alliance (ATA)
About Agile Testing Alliance (ATA)
 
Shifting Left Webinar Slideshow
Shifting Left Webinar SlideshowShifting Left Webinar Slideshow
Shifting Left Webinar Slideshow
 
Testing in a DevOps team
Testing in a DevOps teamTesting in a DevOps team
Testing in a DevOps team
 
Testing and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons LearnedTesting and DevOps Culture: Lessons Learned
Testing and DevOps Culture: Lessons Learned
 
Introduction to Agile Testing
Introduction to Agile TestingIntroduction to Agile Testing
Introduction to Agile Testing
 
Evolve or Die: Healthcare IT Testing | QASymphony Webinar
Evolve or Die: Healthcare IT Testing | QASymphony WebinarEvolve or Die: Healthcare IT Testing | QASymphony Webinar
Evolve or Die: Healthcare IT Testing | QASymphony Webinar
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
 
Introduction to Agile Hardware
Introduction to Agile Hardware Introduction to Agile Hardware
Introduction to Agile Hardware
 
Explore Events of Scrum Framework
Explore Events of Scrum FrameworkExplore Events of Scrum Framework
Explore Events of Scrum Framework
 
Closing the Requirements and Testing Loop Webinar
Closing the Requirements and Testing Loop WebinarClosing the Requirements and Testing Loop Webinar
Closing the Requirements and Testing Loop Webinar
 
Are we done yet?
Are we done yet?Are we done yet?
Are we done yet?
 
Building and Scaling High Performing Technology Organizations by Jez Humble a...
Building and Scaling High Performing Technology Organizations by Jez Humble a...Building and Scaling High Performing Technology Organizations by Jez Humble a...
Building and Scaling High Performing Technology Organizations by Jez Humble a...
 
Agile Adoption Story in LGE (Aps2010)
Agile Adoption Story in LGE (Aps2010)Agile Adoption Story in LGE (Aps2010)
Agile Adoption Story in LGE (Aps2010)
 
QA team transition to agile testing at Alcatel Lucent
QA team transition to agile testing at Alcatel LucentQA team transition to agile testing at Alcatel Lucent
QA team transition to agile testing at Alcatel Lucent
 
Integrating Hardware (Waterfall) and Software (Agile) Development
Integrating Hardware (Waterfall) and Software (Agile) DevelopmentIntegrating Hardware (Waterfall) and Software (Agile) Development
Integrating Hardware (Waterfall) and Software (Agile) Development
 
Agile Testing by Example
Agile Testing by ExampleAgile Testing by Example
Agile Testing by Example
 
Continuous Deployment and Testing Workshop from Better Software West
Continuous Deployment and Testing Workshop from Better Software WestContinuous Deployment and Testing Workshop from Better Software West
Continuous Deployment and Testing Workshop from Better Software West
 
Understanding Agile Hardware
Understanding Agile HardwareUnderstanding Agile Hardware
Understanding Agile Hardware
 
Critical Capabilities to Shifting Left the Right Way
Critical Capabilities to Shifting Left the Right WayCritical Capabilities to Shifting Left the Right Way
Critical Capabilities to Shifting Left the Right Way
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
 

Viewers also liked

Conferencia e-Health APDS
Conferencia e-Health APDSConferencia e-Health APDS
Conferencia e-Health APDS
col.lab | collaboration laboratory
 
5 pedagogical methods Estel School
5 pedagogical methods Estel School5 pedagogical methods Estel School
5 pedagogical methods Estel School
mcast243
 
Hotel sales executive kpi
Hotel sales executive kpiHotel sales executive kpi
Hotel sales executive kpi
deritahar
 

Viewers also liked (20)

National Disability Insurance Scheme
National Disability Insurance SchemeNational Disability Insurance Scheme
National Disability Insurance Scheme
 
Containers will not fix your broken culture (and other hard truths) - Craft Conf
Containers will not fix your broken culture (and other hard truths) - Craft ConfContainers will not fix your broken culture (and other hard truths) - Craft Conf
Containers will not fix your broken culture (and other hard truths) - Craft Conf
 
Sixth floor exhibition_cairo_2013
Sixth floor exhibition_cairo_2013Sixth floor exhibition_cairo_2013
Sixth floor exhibition_cairo_2013
 
la décroissance : vivons mieux (moins de quantité, plus de qualité)
la décroissance : vivons mieux (moins de quantité, plus de qualité)la décroissance : vivons mieux (moins de quantité, plus de qualité)
la décroissance : vivons mieux (moins de quantité, plus de qualité)
 
Conferencia e-Health APDS
Conferencia e-Health APDSConferencia e-Health APDS
Conferencia e-Health APDS
 
10 reasons to use CRM
10 reasons to use CRM10 reasons to use CRM
10 reasons to use CRM
 
Linked Data on the BBC
Linked Data on the BBCLinked Data on the BBC
Linked Data on the BBC
 
Recipes from latin america and spain
Recipes from latin america and spainRecipes from latin america and spain
Recipes from latin america and spain
 
Gerard byrne 2015
Gerard byrne 2015Gerard byrne 2015
Gerard byrne 2015
 
July 20, 2016 Webcast for the Cybersecurity MS at NYU Tandon Online
July 20, 2016 Webcast for the Cybersecurity MS at NYU Tandon OnlineJuly 20, 2016 Webcast for the Cybersecurity MS at NYU Tandon Online
July 20, 2016 Webcast for the Cybersecurity MS at NYU Tandon Online
 
5 pedagogical methods Estel School
5 pedagogical methods Estel School5 pedagogical methods Estel School
5 pedagogical methods Estel School
 
Tiny houses
Tiny housesTiny houses
Tiny houses
 
Policy Development For Well-Being Tool from the UK Government
Policy Development For Well-Being Tool from the UK Government Policy Development For Well-Being Tool from the UK Government
Policy Development For Well-Being Tool from the UK Government
 
Digital Leadership Series : Shawn O'Neal
Digital Leadership Series : Shawn O'Neal Digital Leadership Series : Shawn O'Neal
Digital Leadership Series : Shawn O'Neal
 
Hotel sales executive kpi
Hotel sales executive kpiHotel sales executive kpi
Hotel sales executive kpi
 
What To Do With All This Data? #SXSW #OgilvySXSW
What To Do With All This Data? #SXSW #OgilvySXSWWhat To Do With All This Data? #SXSW #OgilvySXSW
What To Do With All This Data? #SXSW #OgilvySXSW
 
Big Data Day LA 2015 - Large Scale Distinct Count -- The HyperLogLog algorith...
Big Data Day LA 2015 - Large Scale Distinct Count -- The HyperLogLog algorith...Big Data Day LA 2015 - Large Scale Distinct Count -- The HyperLogLog algorith...
Big Data Day LA 2015 - Large Scale Distinct Count -- The HyperLogLog algorith...
 
Human – o filme
Human – o filmeHuman – o filme
Human – o filme
 
Big data marketing : enrichir ses services clients
Big data marketing : enrichir ses services clientsBig data marketing : enrichir ses services clients
Big data marketing : enrichir ses services clients
 
Parques nacionales de lara
Parques nacionales de laraParques nacionales de lara
Parques nacionales de lara
 

Similar to Testing in agile

Engaging IV&V Testing Services for Agile Projects
Engaging IV&V Testing Services for Agile ProjectsEngaging IV&V Testing Services for Agile Projects
Engaging IV&V Testing Services for Agile Projects
Ravi Kumar
 
Agile testing overview
Agile testing overviewAgile testing overview
Agile testing overview
raianup
 
Software testing agile_environment_wp
Software testing agile_environment_wpSoftware testing agile_environment_wp
Software testing agile_environment_wp
Cristiano Caetano
 
PramodMishra_Profile
PramodMishra_ProfilePramodMishra_Profile
PramodMishra_Profile
Pramod Mishra
 
Manual Testing real time questions .pdf
Manual Testing real time questions .pdfManual Testing real time questions .pdf
Manual Testing real time questions .pdf
TiktokIndia2
 

Similar to Testing in agile (20)

! Testing for agile teams
! Testing for agile teams! Testing for agile teams
! Testing for agile teams
 
Agile case studies
Agile case studiesAgile case studies
Agile case studies
 
A confused tester in agile world finalversion
A confused tester in agile world finalversionA confused tester in agile world finalversion
A confused tester in agile world finalversion
 
Agile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil Karade
 
Behaviour Driven Development: Oltre i limiti del possibile
Behaviour Driven Development: Oltre i limiti del possibileBehaviour Driven Development: Oltre i limiti del possibile
Behaviour Driven Development: Oltre i limiti del possibile
 
Introducing QA Into an Agile Environment
Introducing QA Into an Agile EnvironmentIntroducing QA Into an Agile Environment
Introducing QA Into an Agile Environment
 
Engaging IV&V Testing Services for Agile Projects
Engaging IV&V Testing Services for Agile ProjectsEngaging IV&V Testing Services for Agile Projects
Engaging IV&V Testing Services for Agile Projects
 
Agile testing
Agile testingAgile testing
Agile testing
 
Software testing
Software testingSoftware testing
Software testing
 
Agile testing overview
Agile testing overviewAgile testing overview
Agile testing overview
 
Agile testingoverview
Agile testingoverviewAgile testingoverview
Agile testingoverview
 
Product quality in agile project
Product quality in agile projectProduct quality in agile project
Product quality in agile project
 
Software testing agile_environment_wp
Software testing agile_environment_wpSoftware testing agile_environment_wp
Software testing agile_environment_wp
 
Agile testing
Agile testingAgile testing
Agile testing
 
Agile Testing - What is it?
Agile Testing - What is it?Agile Testing - What is it?
Agile Testing - What is it?
 
Agile Testing
Agile Testing  Agile Testing
Agile Testing
 
PramodMishra_Profile
PramodMishra_ProfilePramodMishra_Profile
PramodMishra_Profile
 
Agile Testing 20021015
Agile Testing 20021015Agile Testing 20021015
Agile Testing 20021015
 
Manual Testing real time questions .pdf
Manual Testing real time questions .pdfManual Testing real time questions .pdf
Manual Testing real time questions .pdf
 
Software Development Lifecycle Presentation
Software Development Lifecycle PresentationSoftware Development Lifecycle Presentation
Software Development Lifecycle Presentation
 

Recently uploaded

挂科办理天主教大学毕业证成绩单一模一样品质
挂科办理天主教大学毕业证成绩单一模一样品质挂科办理天主教大学毕业证成绩单一模一样品质
挂科办理天主教大学毕业证成绩单一模一样品质
yzeoq
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
JIT KUMAR GUPTA
 
如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...
NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...
NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...
Amil baba
 
100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...
100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...
100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...
pillahdonald
 
Presentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentationPresentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentation
ajroy0196
 
100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...
100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...
100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...
drjose256
 
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
ugzga
 
Week 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjj
Week 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjjWeek 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjj
Week 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjj
joshuaclack73
 

Recently uploaded (20)

And that's about to change! (Service Design Drinks Berlin May 2024)
And that's about to change! (Service Design Drinks Berlin May 2024)And that's about to change! (Service Design Drinks Berlin May 2024)
And that's about to change! (Service Design Drinks Berlin May 2024)
 
挂科办理天主教大学毕业证成绩单一模一样品质
挂科办理天主教大学毕业证成绩单一模一样品质挂科办理天主教大学毕业证成绩单一模一样品质
挂科办理天主教大学毕业证成绩单一模一样品质
 
Latest Trends in Home and Building Design
Latest Trends in Home and Building DesignLatest Trends in Home and Building Design
Latest Trends in Home and Building Design
 
Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678Webhost NVME Cloud VPS Hosting1234455678
Webhost NVME Cloud VPS Hosting1234455678
 
Onyx Tiles Where Elegance Meets Durability
Onyx Tiles Where Elegance Meets DurabilityOnyx Tiles Where Elegance Meets Durability
Onyx Tiles Where Elegance Meets Durability
 
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...Knowing, Understanding and Planning Cities- Role and Relevance  Physical Plan...
Knowing, Understanding and Planning Cities- Role and Relevance Physical Plan...
 
Naer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing ProjectNaer VR: Advanced Research and Usability Testing Project
Naer VR: Advanced Research and Usability Testing Project
 
如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(Columbia College毕业证书)纽约市哥伦比亚大学毕业证成绩单本科硕士学位证留信学历认证
 
NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
NO1 Popular kala jadu karne wale ka contact number kala jadu karne wale baba ...
 
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UAL毕业证书)伦敦艺术大学毕业证成绩单本科硕士学位证留信学历认证
 
NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...
NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...
NO1 Best Best Amil In Rawalpindi Bangali Baba In Rawalpindi jadu tona karne w...
 
100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...
100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...
100^%)( KATLEHONG))(*((+27838792658))*))௹ )Abortion Pills for Sale in Doha, D...
 
Presentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentationPresentation on 3D Printing.pptx presentation
Presentation on 3D Printing.pptx presentation
 
100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...
100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...
100^%)( MAYIBUYE))(*((+27838792658))*))௹ )Abortion Pills for Sale in Soweto, ...
 
The Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to CatwalkThe Journey of Fashion Designer Sketches - From Concept to Catwalk
The Journey of Fashion Designer Sketches - From Concept to Catwalk
 
Levi's Advertisement and camapign design
Levi's Advertisement and camapign designLevi's Advertisement and camapign design
Levi's Advertisement and camapign design
 
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(ArtEZ毕业证书)ArtEZ艺术学院毕业证成绩单本科硕士学位证留信学历认证
 
Abdulaziz Tariq Abdulaziz Mustafa CV 2024
Abdulaziz Tariq Abdulaziz Mustafa CV 2024Abdulaziz Tariq Abdulaziz Mustafa CV 2024
Abdulaziz Tariq Abdulaziz Mustafa CV 2024
 
Week 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjj
Week 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjjWeek 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjj
Week 11 Mini-Tasks.pptxjjjjjjjjjjjjjjjjjjjj
 
Heidi Livengood's Professional CADD Portfolio
Heidi Livengood's Professional CADD PortfolioHeidi Livengood's Professional CADD Portfolio
Heidi Livengood's Professional CADD Portfolio
 

Testing in agile

  • 1. Testing in Agile http://qtp.blogspot.com 1
  • 2. Table of contents 1. Traditional style QA 2. Agile Approaches 3. An Agile Tester 4. Traditional vs. Agile 5. Role Testers Play 6. Testing & Testers on Agile Projects 7. Question: While a developer is coding a task, it is impossible for a tester to test it (it doesn't exist yet). What then is the role of a tester at this point. 8. Question: Is the tester now involved in unit testing? Is this done parallel to black box testing? 9. Question: What does the tester do during a sprint where primarily infrastructural changes have been made, that may only be testable in unit testing? 10. Specific Technical Skills For Agile Tester‟s Toolkit http://qtp.blogspot.com 2
  • 3. Traditional Style Quality Assurance Process and tools are a key part of QA and Testing. QA people seem to love documentation. QA people want to see the written specification. And where is testing without a plan? So, is there a role for QA in Agile projects? Maybe, but the role is different, the tasks are different. http://qtp.blogspot.com 3
  • 4. Agile approaches are changing the conversation about software development Agile shifted our attention to small teams. . Incrementally delivering quality software. The old ideas about testing at the end of the coding phase no longer applicable. We need to think about the role of Quality. Assurance in Agile Projects. Definitely NOT business-as-usual. http://qtp.blogspot.com 4
  • 5. An Agile Tester A professional tester who embraces change, collaborates well with both technical and business people, and understands the concept of using tests to document requirements and drive development. Agile testers tend to have good technical skills, know how to collaborate with others to automate tests, and are also experienced exploratory testers. They‟re willing to learn what customers do so that they can better understand the customers‟ software requirements. http://qtp.blogspot.com 5
  • 6. Traditional vs. Agile Testing Phased Model e.g. Waterfall Requirements Specifications Code Testing Release Time Agile: F Iterative & Incremental E Each story is expanded, coded & tested D D Possible release after each iteration C C C A B A B A B A B http://qtp.blogspot.com 6
  • 7. Traditional vs. Agile Testing Traditional Agile In the phased approach diagram (see previous Agile is iterative and incremental (see previous slide), it is clear that testing happens at the end, slide). This means that the testers test each right before release. The diagram is idealistic, increment of coding as soon as it is finished. An because it gives the impression there is as much iteration might be as short as one week, or as time for testing as there is for coding. In many long as a month. The team builds and tests a little projects, this is not the case. The testing gets bit of code, making sure it works correctly, and “squished” because coding takes longer than then moves on to next piece that needs to be expected, and because teams get into a code- built. Programmers never get ahead of the and-fix cycle at the end. testers, because a story is not “done” until it has been tested. Tests are usually created from a requirements Rather than creating tests from a requirements document. document that was created by business analysts before anyone ever thought of writing a line of code, someone will need to write tests that illustrate the requirements for each story days or hours before coding begins. http://qtp.blogspot.com 7
  • 8. Role Testers Play The role of the tester with agile methods is an area that has received increasing attention. Initially with a focus on unit testing and „acceptance‟ testing it appeared the system tester did not have a role in agile. Unit Testing Acceptance Testing & System Testers are no longer required? Typical responsibilities for testers in agile can include (not limited to): As Cem Kaner put it: „The nature of the tester's role changes in iterative projects. • Facilitate communication between the technical & business stakeholders 1 We are no longer the high- profile victims, we are no 2 • Support early validation of requirements longer the lonely advocates of quality, we are merely (!) • Help the business stakeholders define acceptance criteria 3 competent service providers, collaborating with a • Create automated acceptance tests group that wants to achieve 4 high quality.‟ • Perform manual/exploratory tests on early-stage code http://qtp.blogspot.com 8 5
  • 9. Testing and Testers on Agile Projects http://qtp.blogspot.com 9
  • 10. It comes as no surprise to testers that working software is not the same as code – the tester clearly needs to be involved in not only assessing the product, but in deciding how the product is to be assessed. However, with automated unit tests in the hands of the coders, and confirmation- focused acceptance testing driven by the customer, testers should be aware that they will not be the sole – or even the primary – owner of deciding what works, and what doesn‟t. http://qtp.blogspot.com 10
  • 11. Testers need to be able to interact directly with designers and coders to understand the technological imperatives and restrictions that affect the software and its unit tests. Conversations and shared understandings Overall less documentation will take the required place of some documentation http://qtp.blogspot.com 11
  • 12. Testing will be driven by what is important to a user, rather than to fulfill a procedural requirement. It is better to have communication between tester, customer and designer than to maintain independence of the test team. In practice, it is common to find large-scale automated unit testing on agile projects, to confirm that code works as expected. The product will be judged by the customer typically by manual, confirmatory tests, with close observation for undesirable behaviors. Testing by testers is often driven by the need to measure the system‟s performance and to find surprises – tools are very much in evidence, but rigid test scripts and procedures do not give the requisite opportunity for discovery, diagnosis and exploitation. http://qtp.blogspot.com 12
  • 13. Testers are key collaborators with the customer, and on some agile projects will take on much of the role of the customer in designing and executing confirmation-driven acceptance tests. However, although testers traditionally make good customer advocates, working closely with a customer is preferable to becoming a proxy. Test strategies which lean heavily on an unchanging set of requirements (for example: designing and coding tests to be bought together with code late in the project; prioritizing tests based on a fixed risk assessment; testing only what has been agreed in the contract; reporting bugs only against fixed requirements) may be considered to be fatally flawed in the light of this value. Iterative collaboration is favored over a negotiated bill of work. http://qtp.blogspot.com 13
  • 14. While a developer is coding a task, it is impossible for a tester to test it (it doesn't exist yet). What then is the role of a tester at this point. http://qtp.blogspot.com 14
  • 15. Testers can prepare their test plans, test cases, and automated tests for the user stories before (or while) they are implemented. This helps the team discover any inconsistency or ambiguity in the user stories even before the developers write any code. http://qtp.blogspot.com 15
  • 16. The tester could be working with the customer to fine tune the stories in the sprint. http://qtp.blogspot.com 16
  • 17. They can often be involved in designing the tests that the coder will write to perform TDD. http://qtp.blogspot.com 17
  • 18. If the agile team is fairly advanced then the tester would normally be writing the ATDD (Acceptance Test Driven Development) tests. These could be in a tool such as Fitnesse or Robot Framework or they could be more advanced ruby tests or even some other programming language. Or in some cases, simple record and playback can often be beneficial for a small number of tests. http://qtp.blogspot.com 18
  • 19. They would obviously be writing planning some exploratory testing scenarios or ideas. http://qtp.blogspot.com 19
  • 20. The tricky thing to comprehend sometimes for the team is that the story does not have to be complete in order to drop it to the test stack for testing. For example the coders could drop a screen with half of the fields planned on it. The tester could test this half whilst the other half is being coded and hence feedback in with early test results. Testing doesn't have to take place on "finished" stories. http://qtp.blogspot.com 20
  • 21. Is the tester now involved in unit testing? Is this done parallel to black box testing? http://qtp.blogspot.com 21
  • 22. Don’t do Testers only test code that Testers Unit Tests passes all of the automated unit, integration and acceptance tests, which are all written by the developers. This split may be different elsewhere, though; for example your testers could be writing automated acceptance tests. The whole point of unit tests is to test the software is correct to avoid wasting time later down the line. It's all about instant feedback http://qtp.blogspot.com 22
  • 23. What does the tester do during a sprint where primarily infrastructural changes have been made, that may only be testable in unit testing? http://qtp.blogspot.com 23
  • 24. Testers workload will vary between sprints, but regression tests still need to be run on these changes... http://qtp.blogspot.com 24
  • 25. You may also find that having the testers spend the first couple of days of each sprint testing the tasks from the previous sprint may help, however it's better to get them to nail down the things that the developers are going to be working on by writing their test plans. http://qtp.blogspot.com 25
  • 26. Ensure that project or sprint requirements are clear, measurable and testable. In an ideal world each requirement will have a fit criterion written down at this stage. Determine what information needs to be automatically logged to troubleshoot any defects. http://qtp.blogspot.com 26
  • 27. Prepare a project specific test strategy and determine which QA steps are going to be required and at which project stages: integration, stress, compatibility, usability, perf ormance, beta testing etc. Determine acceptable defect thresholds and work out classification system for defect severity, specify guidelines for defect reporting. http://qtp.blogspot.com 27
  • 28. Specify, arrange and prepare test environment: test infrastructure and mock services as necessary; prepare test data; write scripts to quickly refresh test environment when necessary; establish processes for defect tracking, communication and resolution; prepare for recruitment or recruit users for beta, usability or acceptance testing. Write test scripts. http://qtp.blogspot.com 28
  • 29. Ideally the tester would be working with the team and the customer (who by the way, is part of the team!) to define the planned stories and build in some good, detailed acceptance criteria. This is invaluable and can save loads of time later down the line. The tester could also be learning new automation techniques, planning test environments, helping to document the outcome of the planning. http://qtp.blogspot.com 29
  • 30. Specific Technical Skills For Agile Tester‟s Toolkit http://qtp.blogspot.com 30
  • 31. Automation Skills For automation to -> we need to apply succeed -> good design practices a single & We strive to keep each automated test to clear purpose Learn how to evaluate and choose the right tools, so you can help your team create maintainable automated regression tests. You can free up time for essential testing activities such as exploratory testing. http://qtp.blogspot.com 31
  • 32. Acceptance Test-driven Development Communication skills and good domain understanding enable testers to help business experts give good examples of both desired and undesired system behavior. We can turn these examples into tests that help the programmers understand what code to write. This is called acceptance test-driven development, and it is a major step toward building quality into the code and preventing defects. http://qtp.blogspot.com 32
  • 33. Learning Styles auditory learn by Learning learners listening Styles visual Learn by learners see pictures We all have blind spots that may prevent us from learning or triggers where we shut down and don‟t hear the message anymore. Keep your emotional “hot buttons” in mind and focus on what you can learn from instructors, material, or teammates to enhance your abilities. Mentors with different backgrounds or from other industries besides testing and software development might work best with your learning style. Don‟t limit yourself to coaches, mentors, and instructors who work specifically in software testing. http://qtp.blogspot.com 33
  • 34. Learning Resources Examples Many good software Testing books Plenty of free material on the Internet Resources your peers can provide Communities of practice are another good place to find mentors and learn together Conferences are an obvious way to get a lot of new ideas in a very short period of time Mailing lists and social networks Testing communities, such as Weekend Testers http://qtp.blogspot.com 34
  • 35. References • AGILE TESTING A PRACTICAL GUIDE FOR TESTERS AND AGILE TEAMS by Lisa Crispin & Janet Gregory • http://sqa.stackexchange.com/questions/1824/the-role-of-a- software-tester-in-an-agile-environment • http://searchsoftwarequality.techtarget.com/news/1243805/Role- of-testing-in-agile-projects • http://www.kohl.ca/blog/archives/000116.html • http://www.mcbreen.ab.ca/talks/CAMUG.pdf • http://newsweaver.ie/qualtech/e_article000847213.cfm?x=b11,0,w • http://stackoverflow.com/questions/1640911/role-of-testers-in- agile • LEARNING FOR AGILE TESTERS, Part 2 by Lisa Crispin and Janet Gregor, Better Software Magazine Sept/Oct 2011 http://qtp.blogspot.com 35