Wix Automation - Automation Manager

25
1 Wix Automation Automation Manager Stas Slutsker

Transcript of Wix Automation - Automation Manager

Page 1: Wix Automation - Automation Manager

1

Wix AutomationAutomation Manager

Stas Slutsker

Page 2: Wix Automation - Automation Manager

2

Introduction

Page 3: Wix Automation - Automation Manager

3

What We HaveTeamCity (CI) as test executor

TeamCity (CI) as test executor

Page 4: Wix Automation - Automation Manager

4

It Works, But…

Page 5: Wix Automation - Automation Manager

5

It Works, But…• Controlling rapidly growing tests amount,

more & better info about them

• Dealing with flakiness in efficient way, technically• Reduce trust and increase annoyance• Poison. How to avoid them and progress

faster? -> Move fast and break nothing

Page 6: Wix Automation - Automation Manager

6

TeamCity is NOT test management tool!

It Works, But…

Page 7: Wix Automation - Automation Manager

7

So, What’s Missing?

Page 8: Wix Automation - Automation Manager

8

• Analyzing tests per configuration, history & statistics for cross-section demands

• Pursue stability

• Risk analysis, better decision making

So, What’s Missing?

Page 9: Wix Automation - Automation Manager

9

We need central management of tests for smarter automation

• Progress faster, reaching our release goals• Better development velocity• Quality of our automation service, as a team

Conclusion

Page 10: Wix Automation - Automation Manager

10

Automation Manager

Page 11: Wix Automation - Automation Manager

11

Automation Manager Goals

• Gathering information about test runs

• Statistics & history, per cross-section demands

• Disabling & approving new or suspected tests, controlling tests statesSmarter Automation

Page 12: Wix Automation - Automation Manager

12

States & Stability

Page 13: Wix Automation - Automation Manager

13

States & Stability• Each test has a state

• State is changed according to test behavior

• Stable state must be earned!Stable

Beta (new / flaky)

Disabled

Page 14: Wix Automation - Automation Manager

14

Beta Tests

Page 15: Wix Automation - Automation Manager

15

Statistics

Page 16: Wix Automation - Automation Manager

16

Dashboards according to different needs

Statistics

Page 17: Wix Automation - Automation Manager

17

Statistics – Ignored Tests

Page 18: Wix Automation - Automation Manager

18

Statistics – Test Runs

Page 19: Wix Automation - Automation Manager

19

Decision Making

Page 20: Wix Automation - Automation Manager

20

Risk analysis & behavior patterns

• Skipping new or non-stable tests

• Discovering non-valuable tests

• Vulnerable product areas (error prune)

Better Decision Making

Page 21: Wix Automation - Automation Manager

21

Project Structure

Page 22: Wix Automation - Automation Manager

22

Project Structure

API Core Web DB

Client

REST API

Test Observer@ Before@ Failure@ Success@ Skip

GAE

Page 23: Wix Automation - Automation Manager

23

Objects Modeling

Test

RunResult

RunResult

RunResult

Page 24: Wix Automation - Automation Manager

24

Objects Modeling

RunConfiguration

- browser- experiments- sanity- environment- platform- configurationNa

me- numOfThreads

Test- date- name- state- appearanc

e

RunResult- testName- buildId- runConfigurati

on- passStatus

1

n

Page 25: Wix Automation - Automation Manager

25

Thank you!Questions?