16
3/30/2019 1 A QUICK GUIDE Raj Subramanian TO IMPLEMENT ATDD [email protected] 2 Developer Evangelist at Testim.io 12+ Years of Development and Testing Blogger, Speaker and Writer @epsilon11 [email protected] ABOUT ME http://www.rajsubra.com/blog/ https://blog.testim.io/ http://www.rajsubra.com/publications/ http://www.rajsubra.com/presentations/ 1 2

A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD [email protected] 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

  • Upload
    others

  • View
    13

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

1

A QUICK GUIDE

Raj Subramanian

TO IMPLEMENTATDD

[email protected]

2

● Developer Evangelist at Testim.io

● 12+ Years of Development and Testing

● Blogger, Speaker and Writer

@epsilon11

[email protected]

ABOUT ME

○ http://www.rajsubra.com/blog/

○ https://blog.testim.io/

○ http://www.rajsubra.com/publications/

○ http://www.rajsubra.com/presentations/

1

2

Page 2: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

2

PROBLEMSCONTEXT

ATDD IMPLEMENTATION RESULTS

AGENDA

3

CONTEXTMATTERS

CONTEXT | PROBLEMS | ATDD IMPLEMENTATION | RESULTS

3

4

Page 3: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

3

PROBLEMS

CONTEX | PROBLEMS | ATDD IMPLEMENTATION | RESULTS

Team morale - all time low

Frequent scope creep

No QA-Dev

collaboration

No transparency

PROBLEMS

Ambiguity in requirements

No one owned the stories

No one knew about the automation framework

6

5

6

Page 4: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

4

Source: https://giphy.com

7

8

7

8

Page 5: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

5

WHOLE TEAM (25 people)

TEAM B (13 people)TEAM A (12 people)

WILL FOLLOW ATDDWILL CONTINUE OLD

PROCESS

9

ATDDIMPLEMENTATION

CONTEX | PROBLEMS | ATDD IMPLEMENTATION | RESULTS

9

10

Page 6: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

6

ATDDIMPLEMENTATIONCYCLE

11

ATDDIMPLEMENTATION

CYCLE

Training and experimentation

Increasing visibility

Iterative learning and feedback

12

11

12

Page 7: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

7

STEP 1 TRAINING AND EXPERIMENTATION

13

TRAINING

How to write Gherkin (GWT)?

Key attributes of good user story

Demonstration of automation framework

Exercises to write test code as a team

2 day workshop

14

13

14

Page 8: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

8

Source: https://9spl.com

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

15

STEP 2 INCREASING VISIBILITY

16

15

16

Page 9: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

9

Daily processes and Checklists

VISIBILITY

17

Kick-off meetings

QA-Dev handoff meetings

Unit Test Written

Automation Tests Written

Story Testing complete

PO demo complete

18

17

18

Page 10: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

10

Daily processes

VISIBILITY

Process Hawk Automation visibility

19

STEP 3 ITERATIVE LEARNING AND FEEDBACK

20

19

20

Page 11: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

11

21

Bi-Weekly retrospective

meetings

ITERATIVE FEEDBACK

Quick 30 min meeting/week with Team A

Daily standup meetings

22

21

22

Page 12: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

12

IMPACT OF ATDD ON TESTING

23

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 Test and Regression Test

2 Day PR rule for automation code

24

23

24

Page 13: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

13

RESULTS

CONTEX | PROBLEMS | ATDD IMPLEMENTATION | RESULTS

Source: Giphy 26

25

26

Page 14: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

14

27

CONCLUSION

28

27

28

Page 15: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

15

CONCLUSION

Aligns with “Shift-Left Paradigm”

More visibility into automation

Not “One size fits all” approach

29

IT’S A

My Channel

WRAP

[email protected] @epsilon11Website: www.testim.io

29

30

Page 16: A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD raj@testim.io 2 Developer Evangelist at ... JSON/HTTP UI Automation APPIUM Server Cucumber with Appium Work Flow

3/30/2019

16

My [email protected] @epsilon11Website: www.testim.io

ATDD -

https://www.infoq.com/articles/quick-guide-

atdd

EXPLORATORY TESTING-

http://blog.testim.io/exploratory-testing/

31