large scale agile projects · about me speaker, writer and tech career coach at chailatte...
TRANSCRIPT
How To Implement ATDD In Large Scale Agile Projects
Raj Subrameyer
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
ABOUT ME ● Speaker, Writer and Tech Career Coach at ChaiLatte Consulting
● 14+ Years of Development and Testing● More Info
○ http://www.rajsubra.com/blog/○ http://www.rajsubra.com/speaking-at-eve
nts/○ http://www.rajsubra.com/tech-career-coa
ching/○ http://www.rajsubra.com/content-and-co
mmunity/○ http://www.rajsubra.com/blog/
Twitter: @epsilon11
E-mail: [email protected]@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
AGENDA● CONTEXT
● PROBLEMS
● ATDD IMPLEMENTATION
● RESULTS
● Q & A
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
CONTEXT
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
PROBLEMS
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
PROBLEMS● No transparency
● Ambiguity in requirements
● No one owned the stories
● No one knew about the
automation framework
● No QA-Dev collaboration
● Frequent scope creep
● Team morale - all time low
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
HOW MANY OF YOU HAVE FACED THESE PROBLEMS?
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
Source: https://giphy.com
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
ATDD IMPLEMENTATION
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
WHOLE TEAM (25 people)
TEAM B (13 people)TEAM A (12 people)
WILL FOLLOW ATDD WILL CONTINUE OLD PROCESS
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
ATDDIMPLEMENTATION
CYCLE
Training and experimentation
Increasing visibility
Iterative learning and feedback
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
STEP 1
TRAINING AND EXPERIMENTATION
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
TRAINING● How to write Gherkin (GWT)?
● Key attributes of a good story
● Demonstration of automation framework
● Exercises to write test code as a team
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
Cucumber(Feature File)
Step Definition
WebDriver script(.net, java, nodeJS, php, etc…)
Device Or Emulators(iOS/Android)
Requirement
Methods to Implement
JSON/HTTP UI Automation
APPIUM Server
Cucumber withAppium Work Flow
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
STEP 2
INCREASING VISIBILITY
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
17
DAILY PROCESSES & CHECKLISTS
CHECKLISTS● Kick-off meetings
● QA-Dev handoff meetings
● Unit Test Written
● Automation Tests Written
● Story Testing complete
● PO demo complete
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
Daily processes Process Hawk Automation visibility
INCREASING VISIBILITY
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
STEP 3
ITERATIVE LEARNING AND FEEDBACK
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
ITERATIVE FEEDBACK
Bi-Weekly retrospective
meetings
Quick 30 min meeting/week with Team A
Daily standup meetings
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
IMPACT OF ATDD ON TESTING
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
ATDD AND TESTING● Clarity on what is automated vs
not automated
● Paired exploratory testing
● Dev-QA paired up to write
automation code
● Tagging modules in
automation code
● Had separate automated
Smoke and Regression Test
● 2 day PR rule for automation
code
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
SESSION BASED EXPLORATORY TESTING● 45-90 minute Time Boxed Sessions
● Charter/Goal
● Note Test Ideas/Scenarios
● Paraphrase/Debrief
● Discuss Observations
● Post Defects
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
EXPLORATORY TESTING BLOG POST: http://www.rajsubra.com/sbtm/
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
ATDD AND TESTING● Clarity on what is automated vs
not automated
● Paired exploratory testing
● Dev-QA paired up to write
automation code
● Tagging modules in
automation code
● Had separate automated
Smoke and Regression Test
● 2 day PR rule for automation
code
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
RESULTS
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
Source: https://giphy.com
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
Source: http://123RF.com
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
CONCLUSION
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
CONCLUSION● Aligns with “Shift-Left Paradigm”
● More visibility into automation
● Not “One size fits all” approach
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
YOU CAN DO THIS TOO
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved
MORE RESOURCES: Website: www.rajsubra.com
Email: [email protected]: @epsilon11
Subscribe: http://www.rajsubra.com/subscribe/
@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved