http://fabiopereira.me/blog/2012/02/05/speaking-at-qcon-beijing/
QCon Beijing presentation.
Shallow Depth of Tests - Scalable TDD/BDD
Test automation is prevalent in the software development community. Practices like TDD and BDD are widespread and applied almost unquestionably. However, several organisations have struggled in attempting to scale automated test suites, which very often become slow, brittle, non-deterministic, unreliable and difficult to maintain.
In this talk, I will discuss some common mistakes, Tautological TDD (TTDD), for example, and also present patterns that I have successfully applied, such as Shallow Depth of Tests and Testing Pyramid. These have enabled us to achieve maintainable and scalable tests that fulfill their purpose - to help software development teams deliver faster and more confidently the features required by business people.
4. 29 year old man wants:
- Car insurance
- Travel insurance
Quote
Car $25 System
Travel $15
5. 62 year old man wants:
- Car insurance
- Travel insurance
Quote
Car $25 System
Travel (Too Old)
6. Can sell car insurance to people between 18 and 65.
Can sell travel insurance to people between 18 and 60
Car Travel
17 L
18 J
17 L
18 J
Quote
60 J 60 J
61 J 61 L System
65 J
66 L
38. High level and Test Journeys at the UI Level
An authenticated insurance adviser
should be able to sell insurance
to a customer who fulfills
all mandatory requirements
Business rules should be applied to
all customers who attempt to buy
insurance
Customers should be given the right
insurance premium based on their
insurance requirements
39. High level and Test Journeys at the UI Level
An authenticated insurance adviser,
should be able to sell insurance
to a customer who fulfills
all mandatory requirements
Business rules should be applied to
all customers who attempt to buy
insurance
Customers should be given the right
insurance premium based on their
insurance requirements
40. High level and Test Journeys at the UI Level
An authenticated insurance adviser,
should be able to sell insurance
to a customer who fulfills
all mandatory requirements
Business rules should be applied to
all customers who attempt to buy
insurance
Customers should be given the right
insurance premium based on their
insurance requirements
43. Tautology:
from
Greek:
tauto:
the
same
logos:
word/idea
Tautological:
-‐
needless,
redundant
repe;;on
of
an
idea
-‐
repe;;on
of
same
sense
in
different
words;
-‐
the
phrase
”a
beginner
who
has
just
started”
is
tautological