large scale agile projects · about me speaker, writer and tech career coach at chailatte...

35
How To Implement ATDD In Large Scale Agile Projects Raj Subrameyer [email protected] www.rajsubra.com @epsilon11 www.rajsubra.com Copyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Upload: others

Post on 21-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

How To Implement ATDD In Large Scale Agile Projects

Raj Subrameyer

[email protected]

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 2: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 3: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

AGENDA● CONTEXT

● PROBLEMS

● ATDD IMPLEMENTATION

● RESULTS

● Q & A

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 4: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

CONTEXT

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 5: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

PROBLEMS

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 6: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 7: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

HOW MANY OF YOU HAVE FACED THESE PROBLEMS?

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 8: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

Source: https://giphy.com

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 9: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

ATDD IMPLEMENTATION

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 10: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 11: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

ATDDIMPLEMENTATION

CYCLE

Training and experimentation

Increasing visibility

Iterative learning and feedback

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 12: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

STEP 1

TRAINING AND EXPERIMENTATION

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 13: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 14: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 15: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 16: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

STEP 2

INCREASING VISIBILITY

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 17: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

17

DAILY PROCESSES & CHECKLISTS

Page 18: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 19: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

Daily processes Process Hawk Automation visibility

INCREASING VISIBILITY

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 20: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

STEP 3

ITERATIVE LEARNING AND FEEDBACK

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 21: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 22: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 23: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

IMPACT OF ATDD ON TESTING

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 24: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 25: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 26: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 27: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

EXPLORATORY TESTING BLOG POST: http://www.rajsubra.com/sbtm/

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 28: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 29: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

RESULTS

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 30: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

Source: https://giphy.com

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 31: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

Source: http://123RF.com

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 32: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

CONCLUSION

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 33: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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

Page 34: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

YOU CAN DO THIS TOO

@epsilon11 www.rajsubra.comCopyright © 2020 ChaiLatte Consulting LLC. All rights reserved

Page 35: Large Scale Agile Projects · ABOUT ME Speaker, Writer and Tech Career Coach at ChaiLatte Consulting 14+ Years of Development and Testing More Info

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