tdd & automation

Post on 25-Jan-2017

246 Views

Category:

Software

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

TDD

By Elad Maimon

&Automation

Test on production...

Why

automated

tests ?

It’s all about t r u s t ...

B u t W H Y Ihave to do it ?

o u r j o b i s N O T t o C OD Eo u r j o b i s N O T t o T E S Twe are software engineersw e S H I P s of t w a r e t ha tSOLVES problems. (Uri Nativ)

T e s t D r i v e n Development

TDD & BDD

Who writes this ?

Coverage reports

Continuous Integration

Push changes

Build project

Run linter Run tests Security scanner

Code review

DEPLOY *

Join trigger

* Deploy to where ? Continuous Delivery \ Continuous Deployment

Visible build status

But don’t over engineer...

Infrastructure as a code

Infrastructure as a code

➮ Source control for servers

➮ Container vs. VM

➮ Same provisioning code runs tests

➮ Run same server even for dev

➮ Change easily

➮ Share easily

Enrich your environment

top related