Tdd 4 everyone full version

Post on 10-Jul-2015

3.579 views 0 download

Tags:

Transcript of Tdd 4 everyone full version

TDD 4 EveryoneThe Agile tempo

Lior Israel

http://blogs.microsoft.co.il/lior_israel/

Who are you ?

Who are you really?

Developer

Traveler

Product experts

ManagerScrum master

QA

Who am I ?

Who am I ?

Developer

???

Chief Architect

“Chef”Geek of

Code

Hardware developer

Do you know what it is TDD?

Sorry -unfortunately most of you are missing the point!

• As an interviewer

• I want that the candidate to write a code that will replace the two variables (INT)

• So I can figure out whether he is the right person for the job

First test

First fail

Build a simple implementation

Add a new test

Fail again

Fix the code

Refactoring after NFR

It’s all about A short feedback loop

FizzBuzz code KATA

• Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"

Here are the new requirements

• A number is fizz if it is divisible by 3 or if it has a 3 in it

• A number is buzz if it is divisible by 5 or if it has a 5 in it

DoD should update

TDD as a way of working

• TDD is not a UNIT TEST

• TDD is part of the Software craftsmanship

• TDD must be adjusted to US/DoD and not to Implementation

• If someone can understand your testYou are on the right way

• If the BA can understand your testYou are in a perfect way

Agile, Architecture and Architect

Facts About Software

Software is low cost

Requirements change

Agile Architecture“Sub Kuch Milega”

'You'll get anything you wish for'

Stock Photo - Casa Batllo - Antoni Gaudi - Barcelona

Agile Architecture - Less is More

“Just good enough”

Parsimony -Simplest solution , Minimize

complexity

Don't be afraid to throw

things away

Agile Architecture - Use Diagram

•Word >100 page

•PPTX > 60 slides

Agile Architecture - Use Diagram

TDD – Test Driven Design

Design High Level system

Build the contracts

"Fake it 'til you make it“ – make it clear

The system must be green

Now we can implement it

Thanks :-9I'm available for

QuestionsAny

(time, place, where)