beer & beta by flockler - feb 4th 2016

20
Beer & Beta 4.2.2016 Speed up development with automated testing Eero Heino

Upload: sointu-karjalainen

Post on 13-Feb-2017

191 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Beer & Beta by Flockler - Feb 4th 2016

Beer & Beta 4.2.2016

Speed up development with automated testing

Eero Heino

Page 2: Beer & Beta by Flockler - Feb 4th 2016

Why test at all?

Page 3: Beer & Beta by Flockler - Feb 4th 2016

Why test at all?

Spend less time debugging→

know when it breaks

Page 4: Beer & Beta by Flockler - Feb 4th 2016

Why test at all?

Spend less time debugging→

know (early) when it breaks

Page 5: Beer & Beta by Flockler - Feb 4th 2016

Why test at all?

Real feedback comes after release→

know when to release

Page 6: Beer & Beta by Flockler - Feb 4th 2016

2 unit tests. 0 integration tests.

Page 7: Beer & Beta by Flockler - Feb 4th 2016

Good test automation?

Fast test cycle→

nobody is going to wait for results

Page 8: Beer & Beta by Flockler - Feb 4th 2016

Good test automation?

Reusable test cases→

Fast maintenance

Page 9: Beer & Beta by Flockler - Feb 4th 2016

Good test automation?

Whole team can understand it→

works as a communication channel

Page 10: Beer & Beta by Flockler - Feb 4th 2016

How to test?

Page 11: Beer & Beta by Flockler - Feb 4th 2016

How to test?

Find right tools & methods→

Defines time usage later

Page 12: Beer & Beta by Flockler - Feb 4th 2016

How to test?

Start with 1 automated test→

Most important thing for your user

Page 13: Beer & Beta by Flockler - Feb 4th 2016

How to test?

Find the right balance of how much to test

→ 10-170 tests on average

Page 14: Beer & Beta by Flockler - Feb 4th 2016

How to test?

Automate them→

Hook with code pushes or schedule

Page 15: Beer & Beta by Flockler - Feb 4th 2016

Usetrace as an example

Page 16: Beer & Beta by Flockler - Feb 4th 2016

Usetrace as an example

50 tests launched through CI →

runs for 8 minutes

Page 17: Beer & Beta by Flockler - Feb 4th 2016

Usetrace as an example

New feature or bug in production→

Under testing

Page 18: Beer & Beta by Flockler - Feb 4th 2016

Usetrace as an example

New feature or bug in production→

Under testing

Page 19: Beer & Beta by Flockler - Feb 4th 2016

Usetrace as an example

Without test automation releases every 2 weeks

→Now in 15min when tasks

completed

Page 20: Beer & Beta by Flockler - Feb 4th 2016

Thanks!

https://usetrace.com

[email protected] , 050 465 4004