TDD

Is it all about Tests ? 




Nicolas Peru
@benzonico
@SonarSource

Write Test First



Follow Procedures



Baby Steps




Rush to green


Requirements



Unit tests



Tests must run
fast

Simple mais il fallait y penser



Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. 
And to make matters worse: complexity sells better.
Edsger Djikstra

YOU AIN'T GONNA NEED IT !



Test is a Side Effect


Documentation

IRL


@Testpublic void tdd_should_be_easy_to_practice_in_entreprise(){    assertThat(manager.isGeek()).isTrue();
}
@Test
public void developer_should_know_how_to_write_tests(){ assertThat(developer.hasBeenToCodingDojo()).isTrue();
}

Breizhcamp TDD : is it all about Tests ?

By Nicolas PERU

Breizhcamp TDD : is it all about Tests ?

Breizhcamp quickie played on 12th june in Rennes about the TDD and its advantages.

  • 1,111