28
THE BEGINNING OF TEST AUTOMATION IN OLX - PROBLEMS AND CHALLENGES ENCOUNTERED DURING TEST AUTOMATION FOR 8 PLATFORMS Filip Słomski

Php summit 2016

Embed Size (px)

Citation preview

Page 1: Php summit 2016

THE BEGINNING OF TEST AUTOMATION IN OLX - PROBLEMS AND CHALLENGES ENCOUNTERED DURING TEST AUTOMATION FOR 8 PLATFORMS

Filip Słomski

Pawel Maciejewski
najs ;P
Filip Słomski
Rozważam filmik jeszcze tu.
Page 2: Php summit 2016

Agenda

1.Introduction2.Testing process3.Technologies used4.Testing data5.Testing for different countries6.Testing performance7.Testing stability8.Infrastructure9.Future

Page 3: Php summit 2016

Automated tests in OLX

8 countries - test automation

Before January 2016

Today

Page 4: Php summit 2016

Athena

Environment Abstraction Layer

Page 5: Php summit 2016

Testing process

User storyGiven…When…Then.

Automation label

Automated tests

Outsourced manual tests

Page 6: Php summit 2016

Technology

Pawel Maciejewski
Nie najlepszy według mnie przykład - raz, że nie do końca poprawny (given-when-then-when-then), a poza tym za skomplikowany jak na prezkę. IMO jakieś logowanie albo dodanie ada by było spoko ;)
Filip Słomski
NAwet nie zauważyłem tego podwójnego when/then, mogę coś innego wrzucić
Page 7: Php summit 2016

Technology 2

Page 9: Php summit 2016

Demo

Page 11: Php summit 2016

Testing data

Trojan Sinon

Page 12: Php summit 2016

Testing data demo

Page 13: Php summit 2016

Testing data

Demo

Page 14: Php summit 2016

Testing for different countries

Tags

Page 15: Php summit 2016

Testing for different countries - page factories

Page 16: Php summit 2016

Testing for different countries

Page factories

Page 17: Php summit 2016

Testing for different countries

Mappings, providers

Page 18: Php summit 2016

Testing for different countries

Mappings, providers

Page 19: Php summit 2016

Testing for different countries

Mappings, providers

Page 20: Php summit 2016

Testing performance

Page 21: Php summit 2016

Testing performance2

Page 22: Php summit 2016

Tests stability

Active waiting

Page 23: Php summit 2016

Tests stability 2

Active waiting

Page 24: Php summit 2016

Tests stability for jenkins

staging job console output logging naginator

Page 25: Php summit 2016

Infrastructure

Jenkins jobs, triggers

Page 26: Php summit 2016

Infrastructure

Remote environment setup

Page 27: Php summit 2016

Future

Pull Requests automation feedback

Build trust and cooperate with devs

Release dependant on test results

Page 28: Php summit 2016

Questions!Any questions?You can find me at [email protected]