how to slay a battery of tests

19
HOW TO SLAY A BATTERY OF TESTS? Apoorva M Prateek Kumar Baheti April 25, 2015

Upload: thoughtworks

Post on 15-Jul-2015

362 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: How to Slay a Battery of Tests

HOW TO SLAY A BATTERY OF TESTS?

Apoorva M

Prateek Kumar Baheti

April 25, 2015

Page 2: How to Slay a Battery of Tests
Page 3: How to Slay a Battery of Tests

https://www.flickr.com/photos/77429448@N04/6966185804Icon by Freepik from www.flaticon.com

Project 3

Project 1Project 2

You may have tried…

file based

Page 4: How to Slay a Battery of Tests

Tag Hierarchy

Report mergers

Configuration

and Tools

Arrrghhh!!

Page 5: How to Slay a Battery of Tests

IDEcross-platformmulti-language

is an open source, lightweight, cross-platform,

multi-language test automation tool

Page 6: How to Slay a Battery of Tests

Execution in parallel

* It just works TM

gauge -p specs

Page 7: How to Slay a Battery of Tests

Spec 7

Spec 4

Spec 1 Spec 2

Spec 5

Spec 8

Spec 3

Spec 6

gauge -p -n=3 specs

How many nodes ?

Page 8: How to Slay a Battery of Tests

Spec 7

Spec 4

Spec 1 Spec 2

Spec 5

Spec 8

Spec 3

Spec 6

gauge -n=3 -g=1 specs

Re-run a group ?

Page 9: How to Slay a Battery of Tests

Aggregated Reports

Html Report XML Report

Console output

Page 10: How to Slay a Battery of Tests

Under the hood

Page 11: How to Slay a Battery of Tests

Concurrency in golang

Go Routines

Channels

https://talks.golang.org/2013/advconc.slide#20

Page 12: How to Slay a Battery of Tests

www.goinggo.net/2014/02/the-nature-of-channels-in-go.html

In Action

Page 13: How to Slay a Battery of Tests

spec 1

spec 4

spec 7

spec 2

spec 5

spec 8

spec 3

spec 6

GRGRGR

go channel

Gauge Output

Go in Gauge

Page 14: How to Slay a Battery of Tests

Next is What ?

Page 15: How to Slay a Battery of Tests

Load Distribution

http://talks.golang.org/2012/waza.slide

Page 16: How to Slay a Battery of Tests

Now it’s Smart…

http://talks.golang.org/2012/waza.slide

Page 17: How to Slay a Battery of Tests

Remote parallel execution

Gauge

Page 18: How to Slay a Battery of Tests
Page 19: How to Slay a Battery of Tests

@getgauge

http://getgauge.io

http://github.com/getgauge/gauge

[email protected]

More about Gauge