product Qa workflow

20
by tanvir afzal

description

how qa works with agile teams

Transcript of product Qa workflow

Page 1: product Qa workflow

by tanvir afzal

Page 2: product Qa workflow

agendaagenda

views of agile testing

challenges

how qa works with agile?

TDD

workflow of qa

Page 3: product Qa workflow

two views of agile testing (cont.) extreme testing (automated test)

automated unit testingdevelopers write tests test first developmentdaily builds with unit tests always 100% pass

Page 4: product Qa workflow

two views of agile testing exploratory testing (manual test)

utilizes professional testers' skills and experience

optimized to find bugsminimizing time spent on documentationcontinually adjusting plans, re-focusing on the

most promising risk areasfreedom, flexibility and fun for testers

Page 5: product Qa workflow

challenges that agile principles place on testing

Agile Principle Challenge

Frequent deliveries of valuable software

- Short time for testing in each cycle- Testing must be time-boxed, too

Responding to change even late in the development

- Testing cannot be designed beforehand based on specifications- Tests must not prevent change

Relying on face-to-face communication

- Getting developers and business people actively involved in testing

Working software is the primary measure of progress

- Quality information is required early and frequently throughout development

Simplicity is essential - Testing practices get easily dropped for simplicity’s sake

Page 6: product Qa workflow

contradictions with traditional testing principles

Testing principle Contradicting practices in agile methods

Independency of testing and destructive attitude

- Developers write tests for their own code

Testing requires specific skills - Developers do the testing as part of the development

Oracle problem -Relying on automated tests to reveal defects

Evaluating achieved quality - Confidence in quality through tracking conformance to a set of good practices

Page 7: product Qa workflow
Page 8: product Qa workflow

test levelstest levels

traditional agile

development development

unit testintegration test

system testacceptance test

unit test

acceptance test

Page 9: product Qa workflow

QA in agileQA in agile

no more plan and no more v model

the role of documentation and specifications is secondary

the rhythm of development is fast and tight roles and responsibilities are assigned

differently

Page 10: product Qa workflow

some practices in agile for some practices in agile for developersdevelopers keep your project releasable at all times

use automated unit tests

use it before you build it –TDD

keep others informed of the status of your work

V. Subramaniam & A. Hunt, “Practices of an Agile Developer”,The Pragmatic Bookshelf, 2006.

Page 11: product Qa workflow
Page 12: product Qa workflow

agile unit testingagile unit testing test-driven development

writing and running tests is integral part of daily development rhythmtests are developers’ QA and programming tool

all unit tests are automated

when : during development; after every change; new code or bug fix

Page 13: product Qa workflow

test-Driven test-Driven DevelopmentDevelopment writing test before code to be tested

“a little test, a little code, a little test, a little code, ...”

tests are added gradually during implementation

one of the core practices of extreme programming developers have been applying TDD for

several decades

Page 14: product Qa workflow

TDD what is the TDD what is the benefit ???benefit ??? close feedback loop

task-orientation

low-level design

results better code

results testable code

effect on quality

Page 15: product Qa workflow
Page 16: product Qa workflow

So how the flow works? So how the flow works? (cont.)(cont.) developers will create unit tests and

deploy continuous integration in the server.

testers will create all the test cases for all released products and will maintain those test cases.

test suite will be implemented into cruise control for auto regression.

Page 17: product Qa workflow

So how the flow So how the flow works?works?(cont)(cont) all bugs & improvement will be reported

to trac.

All pending bugs will go to the next sprint so please include qa team in sprint planning meeting.

“We are the part of development”

Page 18: product Qa workflow

So how the flow So how the flow works?works? after each release the developer/scrum

master will give change log to qa team & qa will stick change log into track.

all the qa verified change log will be in the trac it mean it is qa passed.

Page 19: product Qa workflow

how to assure how to assure quality ??quality ?? at least one unit test for one function.

after any deployment its better to inform qa team to run a regression to confirm that all the previous functions are working.

Page 20: product Qa workflow

“don’t get annoyed when there is bug

Be proud to solve it”

want to share anything?

nope?

then

Thank you Thank you