Testing in Agile(2)
-
Upload
muhammad-usman-aleem -
Category
Documents
-
view
224 -
download
0
Transcript of Testing in Agile(2)
![Page 1: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/1.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 1/28
Presented by:Shaikh Muhammad Aneeque
Senior SQA EngineerTeam GE
![Page 2: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/2.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 2/28
Agile An OverviewPrinciples of Agile Testing
Agile Testing PracticesChanges in Testing ApproachesChallenges in Agile Testing
![Page 3: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/3.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 3/28
Individuals and interactions over processesand tools
Working software over comprehensivedocumentationCustomer collaboration over contract
negotiationResponding to change over following a plan
![Page 4: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/4.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 4/28
![Page 5: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/5.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 5/28
![Page 6: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/6.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 6/28
![Page 7: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/7.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 7/28
![Page 8: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/8.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 8/28
![Page 9: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/9.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 9/28
![Page 10: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/10.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 10/28
![Page 11: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/11.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 11/28
![Page 12: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/12.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 12/28
![Page 13: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/13.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 13/28
![Page 14: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/14.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 14/28
Are Code Facing , written byprogrammers in support of theprogramming effort
Are usually created using one of the xUnit frameworksExpress expectations of theinternal behavior of the codeIsolate the elements under testExecute quicklyAre executed often , with everychange
![Page 15: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/15.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 15/28
![Page 16: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/16.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 16/28
Are Bus iness Facing ,writtenby various members of theteam in collaboration
Express expectations about theexternally verifiable behaviorAre (mostly) end-to-endRepresent executablerequirementsExecute as part of theContinuous Integration process
![Page 17: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/17.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 17/28
![Page 18: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/18.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 18/28
SimultaneouslyL earning about the software
Designing testsExecuting tests
Using feedback from the last test to inform
the next testCan be done in collaboration with developers , Business Analysts or Customers.
![Page 19: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/19.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 19/28
![Page 20: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/20.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 20/28
![Page 21: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/21.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 21/28
Most testing was done by the QAteam
manually or
Play / record automationThrough the GU I
Based on the V-modelUnit tests were sporadic
Developers knew little abouttesting
![Page 22: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/22.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 22/28
Unit tests are the base layerProvide the fastest feedbackBest RO I
Middle layerbecomes functional regressiontests
GUI layerMay be partially automatedMostly exploratory testing
![Page 23: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/23.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 23/28
![Page 24: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/24.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 24/28
With frequent iterations delivered totesting, how can testers test incomplete
code?Stories must be defined in terms of business value.Stories should not span iterations.
Testers may need to help with story definition.There will always be gaps. ± Testers need to learn and adapt as they find them.
![Page 25: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/25.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 25/28
Without the time devoted to completetesting, how do we know when testing is
done?Testing must be prioritized just like stories.Bug metrics also provide an indicator of completeness.A good tester is never done.
![Page 26: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/26.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 26/28
S ome have declared that agile teamsshouldn t track bugs and just fix them as
soon as they are found.This works well when you are testing in Dev.Ideally , bugs will be fixed right away , but somemay be deferred.Ultimately , bugs can be prioritized with stories.
![Page 27: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/27.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 27/28
With frequent iterations, we need to retestoften. And unit tests aren t enough. How
do we get effective user-level regressiontests?
You don t necessarily need to do a full regressiontest with each iteration. You may run parts in eachiteration cycling through.But you ll still need some level of automated user-level regression tests.
![Page 28: Testing in Agile(2)](https://reader031.fdocuments.us/reader031/viewer/2022021116/577d341e1a28ab3a6b8ccc5d/html5/thumbnails/28.jpg)
8/8/2019 Testing in Agile(2)
http://slidepdf.com/reader/full/testing-in-agile2 28/28