Top Banner
1 WHAT I'VE LEARNED ABOUT TEST AUTOMATION AND DEVOPS
43

What i've learned about test automation and DevOps

Apr 16, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: What i've learned about test automation and DevOps

1

WHAT I'VE LEARNED ABOUT TESTAUTOMATION AND DEVOPS

Page 2: What i've learned about test automation and DevOps

2

[~]$ whoamiFilipe Bartolomeu

Integration and Enterprise Architect

Program Manager

Page 3: What i've learned about test automation and DevOps

2

3 . 1

A SHORT STORY

HOW AUTOMATION WENT WRONG!

Page 4: What i've learned about test automation and DevOps

3 . 2

My Boss requested me to implement a Test AutomationCompetence to reduce Production Incidents...

Page 5: What i've learned about test automation and DevOps

3 . 3

AUTOMATE! AUTOMATE! AUTOMATE!

Page 6: What i've learned about test automation and DevOps

3 . 4

Page 7: What i've learned about test automation and DevOps

3 . 5

LATER... THAT WEEK

Page 8: What i've learned about test automation and DevOps

3 . 6

Page 9: What i've learned about test automation and DevOps

3 . 7

Page 10: What i've learned about test automation and DevOps

3 . 8

AND I THOUGHT IKNEW TEST

AUTOMATION!!!

Page 11: What i've learned about test automation and DevOps

3 . 9

JUST FIX IT!

Page 12: What i've learned about test automation and DevOps

4 . 1

ACT 2

HOW WE MANAGED TO TURN THINGSAROUND

And learned from it!

Page 13: What i've learned about test automation and DevOps

4 . 2

AUTOMATION IS NO SILVER BULLET!It won't start delivering at day zer0It's no guarantee of qualityIt won't replace testers

Page 14: What i've learned about test automation and DevOps

4 . 3

WHAT WAS THEPROBLEM?

Page 15: What i've learned about test automation and DevOps

4 . 4

Page 16: What i've learned about test automation and DevOps

4 . 5

Page 17: What i've learned about test automation and DevOps

4 . 6

But.. Unit Tests aren’t the Holy Grail...

Unit tests are not related to user/business requirementsDevelopers just want to prove that the code works!

Page 18: What i've learned about test automation and DevOps

4 . 7

WE HAD TO CLIMB THELADDER!

Page 19: What i've learned about test automation and DevOps

4 . 8

Page 20: What i've learned about test automation and DevOps

4 . 9

With the help from the OPS team we devised a flexible testenvironment

Routing & Virtualization

Page 21: What i've learned about test automation and DevOps

4 . 10

Page 22: What i've learned about test automation and DevOps

4 . 11

ARE WE DONE YET?

Page 23: What i've learned about test automation and DevOps

4 . 12

THE PROBLEM IS THE NOT THE TECHNICALSTUFF!

Bussiness Logic? Specification? Test Conditions? Undestandthe Requirements! Environment...

Page 24: What i've learned about test automation and DevOps

4 . 13

CAN YOU GUESS THENEXT TEAM WE TALKED

TO?

Page 25: What i've learned about test automation and DevOps

4 . 14

Page 26: What i've learned about test automation and DevOps

4 . 15

All the applications that require integrated data for testingwill profit.

#1 Create a test data generation process

Page 27: What i've learned about test automation and DevOps

4 . 16

#2 Review and automate the manual regresion Test Set.

Shi the saved time for new features testing.

Page 28: What i've learned about test automation and DevOps

4 . 17

#3 THE AUTOMATION FRAMEWORK SHOULDALLOW THE QUALITY TEAM:

(1) Allow testers to automate tests without having to code(Keyword-driven FW)

(2) Performing data-driven tests (using the same test withdiverse input data)

(3) Easy mantainance by using an object repository (tostore object properties)

Page 29: What i've learned about test automation and DevOps

4 . 18

Test Framework Design Approaches

KEYWORD DRIVEN+DATA DRIVEN

Readability; Reuse; Flexibility; Loosely Coupled

Page 30: What i've learned about test automation and DevOps

4 . 18

4 . 19

EVEN FURTHER...

Page 31: What i've learned about test automation and DevOps

4 . 20

PAIRWISE TESTING

Exaustive Testing: 2^9 * 5 = 2.560 tests!

Pairwize test generation: 12 tests

Page 32: What i've learned about test automation and DevOps

4 . 21

Page 33: What i've learned about test automation and DevOps

4 . 22

TEAM

Page 34: What i've learned about test automation and DevOps

4 . 23

Page 35: What i've learned about test automation and DevOps

4 . 24

SOFTWARE ENGINEER VS TESTER

Page 36: What i've learned about test automation and DevOps

5 . 1

TEST AUTOMATION

NEXT STEPS

Page 37: What i've learned about test automation and DevOps

5 . 2

SHIFT LEFT SHOULD BE BY NOW A REALITY

Begin Testing Activities as soon as the dirst dra arrives!

Page 38: What i've learned about test automation and DevOps

5 . 3

BUT A NEW 'SHIFT-RIGHT' IS EMERGING

Shi -Right: Test in Production

A/B Testing, Feature Flags, Actionable Analytics, Bug FindingChallenge

Page 39: What i've learned about test automation and DevOps

5 . 4

TRYING TO BOOK MY HOLIDAYS...

Page 40: What i've learned about test automation and DevOps

5 . 5

SPOT THE DIFFERENCE

SAME PAGE, DIFFERENT BROWSER

Page 41: What i've learned about test automation and DevOps

5 . 6

VISUAL VALIDATION TESTING

Test Scope: WebBrowsers, Devices, OSs,Screen resolutions...

Page 42: What i've learned about test automation and DevOps

6

QUESTIONS?

Page 43: What i've learned about test automation and DevOps

7

THE END

Filipe Bartolomeu

[email protected]

http://filipebartolomeu.weebly.com/