how to slay a battery of tests
TRANSCRIPT
HOW TO SLAY A BATTERY OF TESTS?
Apoorva M
Prateek Kumar Baheti
April 25, 2015
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
Tag Hierarchy
Report mergers
Configuration
and Tools
Arrrghhh!!
IDEcross-platformmulti-language
is an open source, lightweight, cross-platform,
multi-language test automation tool
Execution in parallel
* It just works TM
gauge -p specs
Spec 7
Spec 4
Spec 1 Spec 2
Spec 5
Spec 8
Spec 3
Spec 6
gauge -p -n=3 specs
How many nodes ?
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 ?
Aggregated Reports
Html Report XML Report
Console output
Under the hood
Concurrency in golang
Go Routines
Channels
https://talks.golang.org/2013/advconc.slide#20
www.goinggo.net/2014/02/the-nature-of-channels-in-go.html
In Action
spec 1
spec 4
spec 7
spec 2
spec 5
spec 8
spec 3
spec 6
GRGRGR
go channel
Gauge Output
Go in Gauge
Next is What ?
Remote parallel execution
Gauge
@getgauge
http://getgauge.io
http://github.com/getgauge/gauge
More about Gauge