A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD [email protected] 2 Developer...
Transcript of A QUICK GUIDE TO IMPLEMENT ATDD - STPCon€¦ · TO IMPLEMENT ATDD [email protected] 2 Developer...
3/30/2019
1
A QUICK GUIDE
Raj Subramanian
TO IMPLEMENTATDD
2
● Developer Evangelist at Testim.io
● 12+ Years of Development and Testing
● Blogger, Speaker and Writer
@epsilon11
ABOUT ME
○ http://www.rajsubra.com/blog/
○ https://blog.testim.io/
○ http://www.rajsubra.com/publications/
○ http://www.rajsubra.com/presentations/
1
2
3/30/2019
2
PROBLEMSCONTEXT
ATDD IMPLEMENTATION RESULTS
AGENDA
3
CONTEXTMATTERS
CONTEXT | PROBLEMS | ATDD IMPLEMENTATION | RESULTS
3
4
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
3/30/2019
4
Source: https://giphy.com
7
8
7
8
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
3/30/2019
6
ATDDIMPLEMENTATIONCYCLE
11
ATDDIMPLEMENTATION
CYCLE
Training and experimentation
Increasing visibility
Iterative learning and feedback
12
11
12
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
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
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
3/30/2019
10
Daily processes
VISIBILITY
Process Hawk Automation visibility
19
STEP 3 ITERATIVE LEARNING AND FEEDBACK
20
19
20
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
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
3/30/2019
13
RESULTS
CONTEX | PROBLEMS | ATDD IMPLEMENTATION | RESULTS
Source: Giphy 26
25
26
3/30/2019
14
27
CONCLUSION
28
27
28
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
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