SlideShare une entreprise Scribd logo
1  sur  94
Télécharger pour lire hors ligne
vous gagne!
ontagne, ça
La m
se
e
ianc
conf
@aloyer
dimanche 3 novembre 13
nauld Loyer
Ar
@aloyer
dimanche 3 novembre 13

Authentic Developer
since 2000!

ftsman
re Cra
Softwa
an boy
BDD f
On est là!

dimanche 3 novembre 13
On est là!

dimanche 3 novembre 13
POUR VOUS
C'EST QUOI LA CONFIANCE ?
dimanche 3 novembre 13
Origine Biologique
⚛
Une Hormone

O CYTOCINE
GENEVE

http://bit.ly/GTyPl5
http://bit.ly/19VQ3L4
dimanche 3 novembre 13
Origine Spirituelle
☯
Une Croyance

dimanche 3 novembre 13
Origine Rationnelle
⚖
Un phénomène
cognitif

dimanche 3 novembre 13
« un état psychologique se
caractérisant par l'intention d'accepter
la vulnérabilité sur la base de
croyances optimistes sur les intentions
(ou le comportement) d'autrui »

dimanche 3 novembre 13
"Mon papa il me dit toujours:
on ne doit pas manger de mousse au chocolat avant de manger...
sinon tu trompes la confiance que tes parents ils ont mis à l'interieur de toi"

http://www.ina.fr/video/PUB1059599066
dimanche 3 novembre 13
http://www.ina.fr/video/PUB999936129
dimanche 3 novembre 13
Aie
confiance!

dimanche 3 novembre 13
Chaos Report
http://blog.standishgroup.com/
dimanche 3 novembre 13
Project Challenged Factors
1. Lack of User Input
2. Incomplete Requirements & Specifications
3. Changing Requirements & Specifications
4. Lack of Executive Support
5. Technology Incompetence
6. Lack of Resources
7. Unrealistic Expectations
8. Unclear Objectives
9. Unrealistic Time Frames
10. New Technology

12.8%
12.3%
11.8%
7.5%
7.0%
6.4%
5.9%
5.3%
4.3%
3.7%

Project Impaired Factors
1. Incomplete Requirements
2. Lack of User Involvement
3. Lack of Resources
4. Unrealistic Expectations
5. Lack of Executive Support
6. Changing Requirements & Specifications
7. Lack of Planning
8. Didn't Need It Any Longer
9. Lack of IT Management
10. Technology Illiteracy

% of
13.1%
12.4%
10.6%
9.9%
9.3%
8.7%
8.1%
7.5%
6.2%
4.3%

Chaos Report

http://blog.standishgroup.com/
dimanche 3 novembre 13
The Bull Survey (1998)
All the managers interviewed had previously taken the lead in integrating large systems
within organizations in the Times Top 100.
Project Evaluation Criteria
The main IT project failure criteria identified by the IT and project managers were:
* missed deadlines (75%)
* exceeded budget (55%)
* poor communications (40%)
* inability to meet project requirements (37%).
http://www.it-cortex.com/Stat_Failure_Cause.htm

dimanche 3 novembre 13
The Bull Survey (1998)

2005 managers
All the Survey: interviewed had previously taken the lead in integrating large systems
The Top
Business Im
Challe 100.
within organizations n the Times Topnges Fa
proveme in
cing Busi
t Architect
Business An
’s research
ness Ana
alyst World
survey of B
l
2005 in Tor
the Busines
usiness Ana ysts
Project Evaluation Criteria onto, Cana
s Functions
lysts attend
da, identifie
’ and ‘Busin
challenges
ing Project
d that ‘Lack
ess Require
facing their
World/
of Clarity i
ments Not
organizatio
n th
W ll-Defin managers were: e Scope
ns in mana by
The main IT project failure criteria identifiedin the IT andeproject ed”
of
g g busine
are the top
-- http://ww
ss requirem
two
* missed deadlinesar
w.bia.ca/ (75%)
ents.
ticles/TheT
opChalleng
* exceeded budget (55%)
esFacingBu
sinessAnaly
* poor communications (40%)
sts.htm
* inability to meet project requirements (37%).
http://www.it-cortex.com/Stat_Failure_Cause.htm

dimanche 3 novembre 13
il
s Fa
t
ojec ce
4
nd IT
Pr
ss a
an
IT
lide=
e
n
s
busin
818&
Why of Gover
n
?c=81
cs
twee
ck
x
1. La rnal Politi cation be
w.asp
o
uni
nte
ws/sh
2. I
comm ectations (1998) /slidesho
r
m
p
. Poo TheeBull Survey
3
ge.co
ar x
d
e
Uncl2
nesse
4.
0the Surw.itbusi
All 05://ww vey: interviewed had previously taken the lead in integrating large systems
managers Th
e
pess
Busitn organizations in the p Challe 100.
ht
Improveme To Times Topnges F
within
acing Bu
nt Architec
Business An
siness An
t’s research
alyst World
al
survey of B
2005 in Tor
the Busines
usiness Ana ysts
Project Evaluation Criteria onto, Cana
s Functions
lysts attend
da, identifie
’ and ‘Busin
challenges
ing Project
d that ‘Lack
ess Require
facing their
World/
of Clarity i
ments Not
organizatio
n th
W ll-Defin managers were: e Scope
ns in mana by
The main IT project failure criteria identifiedin the IT andeproject ed”
of
g g busine
are the top
-- http://ww
ss requirem
two
* missed deadlinesar
w.bia.ca/ (75%)
ents.
ticles/TheT
opChalleng
* exceeded budget (55%)
esFacingBu
sinessAnaly
* poor communications (40%)
sts.htm
* inability to meet project requirements (37%).

http://www.it-cortex.com/Stat_Failure_Cause.htm

dimanche 3 novembre 13
il
s Fa
t
ojec ce
4
nd IT
Pr
ss a
an
IT
lide=
e
n
s
busin
818&
Why of Gover
n
es
?c=81
cs
twee
ck
liti
be
spx
le mistak
. La
o
b
.a
n
1
preventa
rnal P municatio
show
ly
e
s/
2. Int r com
on entire
ns
show
r
e
o The Bulltatio
each yea
ec Survey (1998) om/slid
rs
3. Po lear exp
ge.c
s of dolla
d
on
Unc 2
nesseWe waste billi
s
4.
0the Surw.iare siails tbu interviewed had previously taken theolead re-integrating large systems
05 managers F
wa in fail
ft
All ://wwtvey: Th
Sof w
re/why-s
e To
BuWpess Im
t h
hsitn yorganizations in the p ChpTopn/softwa
a in
within 5) provemen
Times ule g ges Fa
/ctom lt 100.
cing Busi
t .org
Busi200s An
( nes
ness Ana
m.ieeeArchi ect’s research
actr
survey of B
l
//spelystuWorld 2005 in
the httsi:nes
Bu p Evaluation Criteriaaorors:o
usiness Ana ysts
T
Project s Function
lys
on f ct nt ,cCgoada, identi
challenges
c an m si s r R an ls
fied that ‘La ts attending Project W
st s’omd ‘Buteneps oje qt
a t ng tho
e ur
nfg cihe m eiruorgainiula d
Amo IT project failureccriteria ed resuirements Not Weproject k of Clarity in the
o by
nart zations identified ces the IT and ll-D c managers were: Sc orld/
The mainrealistic or
ed in managinents
o
e
e
-- http*//Un
ates of n requirem g business requ fined” are the top tw pe of
: ww .b a. s(75%)
* missed cwuriateaearim
deadlines t
o
irements.
c / ticles/ stem
y heTo
Ina c
rs
*
se
* exceededlbudget ned Te propech'allstngus
C t s e at es
defi (55%) h
, a nd u
j
FacingBusin developers
* Bad y rting of t
e,
* poor communications (40%)
tomers ssAnalysts.htm
or repo isks
s
* Po
d r projectn among cu
* inability anage
to meet
requirements (37%).
Unm
catio
i
*
ommun chnology
c
ity
* Poor
complex
ture te
a
t's
http://www.it-cortex.com/Stat_Failure_Cause.htm
se of imm andle the projec
*U
h
s
ability to pment practice
* In
py develo anagement
* Slop
m
r project litics
* Poo
po
eholder essures
* Stak
ercial pr
* Comm
dimanche 3 novembre 13
l
Seven cts Fai IT Projects Fail - February 2012
Reasons
e
4
nd IT
Proj nance
ss a
IT
lide=
e
s
818&
Why o1.GoverProject Planning en busin
es
?c=81
twe and Direction
ck f Poortics
e
li
spx
le mistak
. La 2.l InsufficientbCommunication
o
b
.a
n
1
preventa
rna P municatio
show
ly
e
s/
2. Int r3.oIneffectivetions
on entire
m
show
r
c
o The Bullta Management com/slide
each yea
ec Survey (1998)
ll
3. Po 4.aFailure to Align With. Constituentsf andars
r exp
dge ste billions o do Stakeholders
e
cl
n sse
s
siaies - We wa
4. Un 2005
b
tr u interviewed had previously taken theolead re-integrating large systems
.iaye F l
wa in fail
ft
All the/Surtwe : Th
managers
Sof w
re/why-s
:y/ww v
e To
BuWpess Im
t h organizations in the p Chaulen/softwa
hsitn http://www.ibmsystemsmag.com/power/Systems-Management/Workload-Management/
in
within 5) provemen
Times Top g ges Fa
/ctomp lt 100.
cing Busi
t .org
Busi200s An
( nes
ness Ana project_pitfalls/?page=2
m.ieeeArchi ect’s research
actr
elystuWorld 20
p
survey of B
l
the httsi:n/ss
05 in Torors:
Bu p / e s Fu
usiness Ana ysts
Project Evaluation Criteriaact nto, Canals
nctions’ommon f
lyst
challenges
st c and ‘Buteneps oject go da, identified that ‘La s attending Project W
si
a t ng tho
c
orld/
nfg cihe m eiruorgainiula d s r Reesuirements No
Amo IT project failureccriteria ed r q ources the IT t Weproject k of Clarity in the
nart zations identified by
The mainrealistic or
and ll-Defined”
managers were: Scope of
d in m a g
are the top
Un
es of nee quaneginentsiness re
-- http*//ww
ir m bus
timat
:
es(75%)
two
quirements
* missed cwuriatea/ar
deadlines
re
.
s
Ina c .b a.c fintecles/TheTo
i d ystem
*
s e at
nd user
pech'allstngus
e
* exceededlbudget (55%) e proj C t
a
esFacingBu
Bad y d ting of th
lopers,
*
s ne deve
* poor communications (40%)
eirs,ssAnalysts.htm
por
e
custom
* Poor r ed risks
* inability anag
to meet projectn among
requirements (37%).
Unm
catio
i
*
ommun chnology
c
ity
* Poor
complex
ture te
a
t's
http://www.it-cortex.com/Stat_Failure_Cause.htm
se of imm andle the projec
*U
h
s
ability to pment practice
* In
py develo anagement
* Slop
m
r project litics
* Poo
po
eholder essures
* Stak
ercial pr
* Comm
dimanche 3 novembre 13
l
Seven cts Fai IT Projects Fail - February 2012
Reasons
e
4
nd IT
Proj nance
ss a
IT
lide=
e
s
818&
Why o1.GoverProject Planning en busin
es
?c=81
twe and Direction
ck f Poortics
e
li
spx
le mistak
. La 2.l InsufficientbCommunication
o
b
.a
n
1
preventa
rna P municatio
show
ly
e
s/
2. Int r3.oIneffectivetions
on entire
m
show
r
c
o The Bullta Management com/slide
each yea
ec Survey (1998)
ll
3. Po 4.aFailure to Align With. Constituentsf andars
r exp
dge ste billions o do Stakeholders
e
cl
n sse
s
siaies - We wa
4. Un 2005
b
tr u interviewed had previously taken theolead re-integrating large systems
.iaye F l
wa in fail
ft
All the/Surtwe : Th
managers
Sof w
re/why-s
:y/ww v
e To
BuWpess Im
t h organizations in the p Chaulen/softwa
hsitn http://www.ibmsystemsmag.com/power/Systems-Management/Workload-Management/
in
within 5) provemen
Times Top g ges Fa
/ctomp lt 100.
cing Busi
t .org
Busi200s An
( nes
ness Ana project_pitfalls/?page=2
m.ieeeArchi ect’s research
actr
elystuWorld 20
p
survey of B
l
the httsi:n/ss
05 in Torors:
Bu p / e s Fu
usiness Ana ysts
Project Evaluation Criteriaact nt
The Most CommonnFactmos for tho, Canada
nctio s’om or n f
lys
challenges
e qt go s , de tifift t ar ‘ a ts attending rojoject
st c and ‘Buteneps ojecfailulre iofnSoedwhateLDevelopmentPPrect W
si
a t ng tho
c
orld/
nfg cihe m eiruorgainiula d s r Reesuirements No
Amo IT project failureccriteria ed r ources the IT t Weproject k of Clarity in the
nart zations identified by
The of n us stimer
and ll-Defined”
managers were: Scope of
1. Lack mainrealitoc or or User eed in lvanaginents
are the top
UC
es of n Invo memm gtbusiness re
en
-- http*//ww
timat
: ar gouriate es(75%)
quire
two
quirements
* missed deadlines d
2. Uncle Inacw.als.ca/artobjectivm re
c b a an icles/T te es
.
s
ys eTo
*
d
fineSe h propech'allstngus
s e at
nd user
e
* exceededlbudget t
a
3. Poor Requiremen(55%) he
j Ct
esFacingBu
Bad y d ting of t
lopers,
t
*
s ne deve
* poor so r ces
communications (40%)
4. Lack of Reoourrepor
eirs,ssAnalysts.htm
custom
*P
s
n
* inability to municproject requirements (37%).
5. Failure to managed riskateationacmas g
com meet nic and a t o a team
* Un
u
r comm e technology
ity
* Poo
complex
tur
a
t's
http://www.it-cortex.com/Stat_Failure_Cause.htm
se of imm andle the projec
*U
h
s
ability to pment practice Volume 1, No. 11, January
* In
2013 ISSN – 2278-1080
n
py develo anagemeIntternational Jour
* Slop
nal of Computer Science & Applications
t m The
jecur
ro jo nalocs mpu
htPo://r p w.
terscience.com/2013Issue/Jan13/V1No11Jan
* tp o ww er politi fco
13P044.pdf
takehold pressures
*S
l
mmercia
* Co
dimanche 3 novembre 13
Q u'es t ce qui se
passe?
Modèle
Mental

Ce qui est expliqué

dimanche 3 novembre 13
Q u'es t ce qui se
passe?
Modèle
Mental

Ce qui est expliqué

Ce qui
n'est pas
retranscrit

dimanche 3 novembre 13
Q u'es t ce qui se
passe?
Modèle
Mental

Ce qui est expliqué

Ce que l'autre
Ce qui

comprend

n'est pas
retranscrit

dimanche 3 novembre 13

Modèle
Mental
Q u'es t ce qui se
passe?

Ce qui est
spécifié

dimanche 3 novembre 13
Q u'es t ce qui se
passe?
Ce qui va
être testé

dimanche 3 novembre 13
Q u'es t ce qui se
passe?
Ce qui va
être testé

Ce qui est
réalisé

dimanche 3 novembre 13
Q u'es t ce qui se
passe?

dimanche 3 novembre 13
Q u'es t ce qui se
passe?

dimanche 3 novembre 13
Q u'es t ce qui se
passe?

dimanche 3 novembre 13
Q u'es t ce qui se
passe?

dimanche 3 novembre 13
Q u'es t ce qui se
passe?

dimanche 3 novembre 13
Q u'es t ce qui se
passe?
Ce qui a été réalisé

Correspond à l'idée
initiale

dimanche 3 novembre 13
Q u'es t ce qui se
passe?
aannnnnn
NNNA

Ce qui a été réalisé

vs

Correspond à l'idée
initiale

dimanche 3 novembre 13
E qu
ipe
dév
de
elop
pem
ent
de

dimanche 3 novembre 13
3 étapes

3 modèles

3 interprétations

dimanche 3 novembre 13
3 étapes

3 modèles

3 interprétations

dimanche 3 novembre 13
3 visions
1 modèle

1 objectif

dimanche 3 novembre 13
dimanche 3 novembre 13
dimanche 3 novembre 13
dimanche 3 novembre 13
dimanche 3 novembre 13
dimanche 3 novembre 13
dimanche 3 novembre 13
oi ?
rqu
u

Po
l but?
ns que
Da
Quelle valeur?

dimanche 3 novembre 13
Intention

oi ?
rqu
u

Po
l but?
ns que
Da
Quelle valeur?

dimanche 3 novembre 13
Feature: ...
Intention ourquoi?
P
In order to <achieve the vision>
l but?
As a <stakeholder>
ns que
Da
I want <value>
Quelle valeur?

dimanche 3 novembre 13
Feature: ...
Intention ourquoi?
P
In order to <achieve the vision>
l but?
As a <stakeholder>
ns que
Da
I want <value>
Quelle valeur?
As a <role>
I want <goal>
So that <value>
focused
User

dimanche 3 novembre 13
dimanche 3 novembre 13
Feature: ...
In order to...
As a...
I want to...

dimanche 3 novembre 13
Feature: ...
In order to...
As a...
I want to...

dimanche 3 novembre 13
Feature: ...
In order to...
As a...
I want to...
Scenario: ...
Given <a context>
When <an event occurs>
Then <an outcome>

dimanche 3 novembre 13
Feature: Account Holder withdraws cash from an ATM
In the following scenario, ATM will stands for
Automatic Teller Machine in other word a “Cash machine”.
In order to get money at any time, even when the bank is
closed
As an Account Holder
I want to withdraw cash from an ATM
Scenario: Account has sufficient funds
Given the account balance is 100€
When the Account Holder requests 20€
Then the ATM should dispense 20€
And the account balance should be 80€
And the card should be returned

dimanche 3 novembre 13
Feature: ATM is monitored to keep track of remaining bills
In the following scenario, ATM will stands for
Automatic Teller Machine in other word a “Cash machine”.
In order to make sure customer always use our machine
As an ATM technician
I want to be informed whenever the bills runs out
Scenario: Email sent on the last 10€ bill
Given the ATM has following bills
| value
| quantity |
| 10
|
1
|
| 20
|
200
|
When the an Account Holder requests 30€
Then an email should be sent indicating 10€ bills run out

dimanche 3 novembre 13
Feature: Market Share Analysis control
In order to detect abuse of Market Share Analysis and
price variation imposed by the financial regulation
As an compliance officer
I want to control and identify products on which X has
been a significant trading participant compared to the daily
market volume and where the intraday price variation and/or
closing price variation has also been significant.

dimanche 3 novembre 13
Feature: ...
In order to...
As a...
I want to...
Scenario: ...
Given <a context>
When <an event occurs>
Then <an outcome>

dimanche 3 novembre 13
Feature: ...
In order to...
As a...
I want to...
Scenario: ...
Given <a context>
When <an event occurs>
Then <an outcome>

dimanche 3 novembre 13
dimanche 3 novembre 13
dimanche 3 novembre 13
dimanche 3 novembre 13
Collaboration
Implication
Intention
Compétence
Connaissance
Expérience
Crédibilité
Compréhension
Ouverture
Transparence
Honnêteté

dimanche 3 novembre 13
Connaissance

Compétence

Collaboration
Crédibilité

Expérience
Compréhension

Implication

Intention
Transparence
dimanche 3 novembre 13

Ouverture

Honnêteté
Connaissance
Knowledge

Compétence
Skills

Capability

Collaboration
Reputation

Results

Performance

Experience
Expérience

Competence

Trust
Implication
Caring

Compréhension

Character
Intent

Intention

Transparency
Transparence
dimanche 3 novembre 13

Crédibilité
Credibility

Ouverture
Openness

Authenticity

Integrity
Honnêteté
Honesty

Fairness
Une fonctionnalité

dimanche 3 novembre 13
Une fonctionnalité

Collaboration

dimanche 3 novembre 13
Une fonctionnalité

Collaboration
Connaissance Partagée
Compréhension

dimanche 3 novembre 13
Une fonctionnalité

Collaboration
Connaissance Partagée
Compréhension

dimanche 3 novembre 13

BDD
=

A Shared Understanding
by discussing Examples
Une fonctionnalité

Collaboration
Connaissance Partagée
Compréhension

dimanche 3 novembre 13

Des Cas Concrets
d'utilisation
Une fonctionnalité

Exécutable

Automatisation

dimanche 3 novembre 13

Des Cas Concrets
d'utilisation
Une fonctionnalité

Exécutable

Automatisation

dimanche 3 novembre 13

Des Cas Concrets
d'utilisation
Une fonctionnalité

Exécutable

Automatisation

dimanche 3 novembre 13

Des Cas Concrets
d'utilisation
Spécifications exécutables
aujourd'hui

Tests de non Régressions
demain
Documentation Vivante
"pour toujours"
dimanche 3 novembre 13
C'est quoi le rapport avec ça!?!

dimanche 3 novembre 13
C'est quoi le rapport avec ça!?!
1

dimanche 3 novembre 13

ère

hypothèse
C'est quoi le rapport avec ça!?!
2

dimanche 3 novembre 13

nde

hypothèse
C'est quoi le rapport avec ça!?!
2

dimanche 3 novembre 13

nde

hypothèse
dimanche 3 novembre 13

APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO
UI

APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO

FEST, Selenium, Fluentlenium,
HtmlUnit, Watir...

"End to End"
dimanche 3 novembre 13
APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO

Services
Web, WCF, ...

"End to End"
dimanche 3 novembre 13
Sub-Module
runtime

dimanche 3 novembre 13

APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO
Sub-Module
runtime

dimanche 3 novembre 13

APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO
APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO

"Quasi-Unitaire"
runtime

dimanche 3 novembre 13
APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO

"Quasi-Unitaire"
runtime

dimanche 3 novembre 13
APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO

Mock, Stubs...

"Quasi-Unitaire"
runtime

dimanche 3 novembre 13
dimanche 3 novembre 13

APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO
dimanche 3 novembre 13

APPLICATION

GLUE CODE

BDD FRAMEWORK

SCENARIO
dimanche 3 novembre 13

APPLICATION

GLUE CODE

Scenario: Account has sufficient funds
Given the account balance is 100€
When the Account Holder requests 20€
Then the ATM should dispense 20€
And the account balance should be 80€
And the card should be returned

BDD FRAMEWORK

SCENARIO
dimanche 3 novembre 13

APPLICATION

GLUE CODE

Scenario: Account has sufficient funds
Given the account balance is 100€
When the Account Holder requests 20€
Then the ATM should dispense 20€
And the account balance should be 80€
And the card should be returned

BDD FRAMEWORK

SCENARIO
GLUE CODE

Scenario: Account has sufficient funds
Given the account balance is 100€
When the Account Holder requests 20€
Then the ATM should dispense 20€
And the account balance should be 80€
And the card should be returned

@When("^the Account Holder request (d+)€$")
public void withdrawInEuro (BigDecimal amount) {
throw new PendingException("Implements me!");
}
@Then("^the ATM should dispense (d+)€$")
public void assertMoneyDispensedInEuro (BigDecimal
amount) {
throw new PendingException("Implements me!");
}

@Then("^the account balance should be (d+)€$")
public void assertBalanceInEuro(BigDecimal amount) {
throw new PendingException("Implements me!");
}

dimanche 3 novembre 13

APPLICATION

SCENARIO

BDD FRAMEWORK

@Given("^the account balance is (d+)€$")
public void defineAccountBalanceInEuro(BigDecimal
balance) {
throw new PendingException("Implements me!");
}
GLUE CODE

Scenario: Account has sufficient funds
Given the account balance is 100€
When the Account Holder requests 20€
Then the ATM should dispense 20€
And the account balance should be 80€
And the card should be returned

@When("^the Account Holder request (d+)€$")
public void withdrawInEuro (BigDecimal amount) {
atm().withdraw(account(), euro(amount));
}
@Then("^the ATM should dispense (d+)€$")
public void assertMoneyDispensedInEuro (BigDecimal
amount) {
TransactionLog txLog = atm().transactionLog();
Money dispensed = txLog.lastAmountDispensed();
assertThat(dispensed).isEqualTo(euro(amount));
}
@Then("^the account balance should be (d+)€$")
public void assertBalanceInEuro(BigDecimal amount) {
Money actualBalance = account().balance();
assertThat(actualBalance).isEqualTo(euro(amount));
}

dimanche 3 novembre 13

APPLICATION

SCENARIO

BDD FRAMEWORK

@Given("^the account balance is (d+)€$")
public void defineAccountBalanceInEuro(BigDecimal
balance) {
account().setBalance(euro(balance));
}
adopte BDD
* des spécifications à caliner
dimanche 3 novembre 13
dimanche 3 novembre 13
Des questions?
http://www.flickr.com/photos/clintjcl/69383431/lightbox/
dimanche 3 novembre 13
Meet the Parents (2000)
dimanche 3 novembre 13
Deviennent

Exécutable

tomatisation
Au

Deviennent

Décrivent

e
xempilo s
E
r
Scéna

Clarifient

dimanche 3 novembre 13

Vérifiée par

Tests de
Non Régression

Living
Documentation

Spécification

fait office de

ation Collaboration
munic
Com Ensemble

Contenu connexe

Similaire à Confiance&bdd softshake2013

Lecture 28.ppt feff ef efe g gg d gdg dg dg edg deg g
Lecture 28.ppt feff ef efe g gg d gdg dg dg edg deg gLecture 28.ppt feff ef efe g gg d gdg dg dg edg deg g
Lecture 28.ppt feff ef efe g gg d gdg dg dg edg deg g
mc220204556aha
 
ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?
ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?
ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?
India Scrum Enthusiasts Community
 
41 C H A P T E R 2 Why Does IT Behave the Way It.docx
41  C H A P T E R  2 Why Does  IT  Behave the Way It.docx41  C H A P T E R  2 Why Does  IT  Behave the Way It.docx
41 C H A P T E R 2 Why Does IT Behave the Way It.docx
alinainglis
 
Design ethics f
Design ethics fDesign ethics f
Design ethics f
R. Sosa
 
Rework: Anticipating What May Go Wrong
Rework: Anticipating What May Go WrongRework: Anticipating What May Go Wrong
Rework: Anticipating What May Go Wrong
pedlove
 

Similaire à Confiance&bdd softshake2013 (20)

Using Periodic Audits To Prevent Catastrophic Project Failure
Using Periodic Audits To Prevent Catastrophic Project FailureUsing Periodic Audits To Prevent Catastrophic Project Failure
Using Periodic Audits To Prevent Catastrophic Project Failure
 
What a waste of money! Orange Paper
What a waste of money! Orange PaperWhat a waste of money! Orange Paper
What a waste of money! Orange Paper
 
Data Con LA 2022 - Building Field-level Lineage from Scratch for Modern Data ...
Data Con LA 2022 - Building Field-level Lineage from Scratch for Modern Data ...Data Con LA 2022 - Building Field-level Lineage from Scratch for Modern Data ...
Data Con LA 2022 - Building Field-level Lineage from Scratch for Modern Data ...
 
Why DOD is Woefully Behind in IT
Why DOD is Woefully Behind in ITWhy DOD is Woefully Behind in IT
Why DOD is Woefully Behind in IT
 
Lecture 28.ppt feff ef efe g gg d gdg dg dg edg deg g
Lecture 28.ppt feff ef efe g gg d gdg dg dg edg deg gLecture 28.ppt feff ef efe g gg d gdg dg dg edg deg g
Lecture 28.ppt feff ef efe g gg d gdg dg dg edg deg g
 
ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?
ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?
ATC2013-Thiru and Abhishek-How to prevent Agile from becoming Fragile?
 
41 C H A P T E R 2 Why Does IT Behave the Way It.docx
41  C H A P T E R  2 Why Does  IT  Behave the Way It.docx41  C H A P T E R  2 Why Does  IT  Behave the Way It.docx
41 C H A P T E R 2 Why Does IT Behave the Way It.docx
 
Transforming Construction with Knowledge Management
Transforming Construction with Knowledge ManagementTransforming Construction with Knowledge Management
Transforming Construction with Knowledge Management
 
Open Text Content World - Executive Summit presentation
Open Text Content World - Executive Summit presentationOpen Text Content World - Executive Summit presentation
Open Text Content World - Executive Summit presentation
 
IT Risk Management
IT Risk ManagementIT Risk Management
IT Risk Management
 
Design ethics f
Design ethics fDesign ethics f
Design ethics f
 
B.Tech.AIDS syllabus anna university .pdf
B.Tech.AIDS syllabus anna university .pdfB.Tech.AIDS syllabus anna university .pdf
B.Tech.AIDS syllabus anna university .pdf
 
B.Tech.AIDS 2017 regulation annauniversity .pdf
B.Tech.AIDS 2017 regulation annauniversity .pdfB.Tech.AIDS 2017 regulation annauniversity .pdf
B.Tech.AIDS 2017 regulation annauniversity .pdf
 
Research into topic pp
Research into topic ppResearch into topic pp
Research into topic pp
 
Software Eng. for Critical Systems - Traffic Controller
Software Eng. for Critical Systems - Traffic ControllerSoftware Eng. for Critical Systems - Traffic Controller
Software Eng. for Critical Systems - Traffic Controller
 
Project FMEA for Recognizing Difficulties in Machine Learning Application Sys...
Project FMEA for Recognizing Difficulties in Machine Learning Application Sys...Project FMEA for Recognizing Difficulties in Machine Learning Application Sys...
Project FMEA for Recognizing Difficulties in Machine Learning Application Sys...
 
Rework: Anticipating What May Go Wrong
Rework: Anticipating What May Go WrongRework: Anticipating What May Go Wrong
Rework: Anticipating What May Go Wrong
 
Product Roadmap vs Development
Product Roadmap vs DevelopmentProduct Roadmap vs Development
Product Roadmap vs Development
 
Real world risks for all Knowledge areas of PMBOK
Real world risks for all Knowledge areas of PMBOKReal world risks for all Knowledge areas of PMBOK
Real world risks for all Knowledge areas of PMBOK
 
ATT&CKcon Power Hour - ATT&CK-onomics - gert-jan bruggink
ATT&CKcon Power Hour - ATT&CK-onomics - gert-jan brugginkATT&CKcon Power Hour - ATT&CK-onomics - gert-jan bruggink
ATT&CKcon Power Hour - ATT&CK-onomics - gert-jan bruggink
 

Plus de Arnauld Loyer (6)

Brown Bag Lunch - BDD an introduction - 2017 feb/mar
Brown Bag Lunch - BDD an introduction - 2017 feb/marBrown Bag Lunch - BDD an introduction - 2017 feb/mar
Brown Bag Lunch - BDD an introduction - 2017 feb/mar
 
Bdd training v5.2.0 - public
Bdd training   v5.2.0 - publicBdd training   v5.2.0 - public
Bdd training v5.2.0 - public
 
Event storming Notes
Event storming NotesEvent storming Notes
Event storming Notes
 
BDD training v5.0.1
BDD training  v5.0.1BDD training  v5.0.1
BDD training v5.0.1
 
Bdd training - v3
Bdd training - v3Bdd training - v3
Bdd training - v3
 
Bdd training-v1
Bdd training-v1Bdd training-v1
Bdd training-v1
 

Dernier

Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
dlhescort
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 

Dernier (20)

Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdfJohn Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 

Confiance&bdd softshake2013

  • 1. vous gagne! ontagne, ça La m se e ianc conf @aloyer dimanche 3 novembre 13
  • 2. nauld Loyer Ar @aloyer dimanche 3 novembre 13 Authentic Developer since 2000! ftsman re Cra Softwa an boy BDD f
  • 3. On est là! dimanche 3 novembre 13
  • 4. On est là! dimanche 3 novembre 13
  • 5. POUR VOUS C'EST QUOI LA CONFIANCE ? dimanche 3 novembre 13
  • 6. Origine Biologique ⚛ Une Hormone O CYTOCINE GENEVE http://bit.ly/GTyPl5 http://bit.ly/19VQ3L4 dimanche 3 novembre 13
  • 9. « un état psychologique se caractérisant par l'intention d'accepter la vulnérabilité sur la base de croyances optimistes sur les intentions (ou le comportement) d'autrui » dimanche 3 novembre 13
  • 10. "Mon papa il me dit toujours: on ne doit pas manger de mousse au chocolat avant de manger... sinon tu trompes la confiance que tes parents ils ont mis à l'interieur de toi" http://www.ina.fr/video/PUB1059599066 dimanche 3 novembre 13
  • 14. Project Challenged Factors 1. Lack of User Input 2. Incomplete Requirements & Specifications 3. Changing Requirements & Specifications 4. Lack of Executive Support 5. Technology Incompetence 6. Lack of Resources 7. Unrealistic Expectations 8. Unclear Objectives 9. Unrealistic Time Frames 10. New Technology 12.8% 12.3% 11.8% 7.5% 7.0% 6.4% 5.9% 5.3% 4.3% 3.7% Project Impaired Factors 1. Incomplete Requirements 2. Lack of User Involvement 3. Lack of Resources 4. Unrealistic Expectations 5. Lack of Executive Support 6. Changing Requirements & Specifications 7. Lack of Planning 8. Didn't Need It Any Longer 9. Lack of IT Management 10. Technology Illiteracy % of 13.1% 12.4% 10.6% 9.9% 9.3% 8.7% 8.1% 7.5% 6.2% 4.3% Chaos Report http://blog.standishgroup.com/ dimanche 3 novembre 13
  • 15. The Bull Survey (1998) All the managers interviewed had previously taken the lead in integrating large systems within organizations in the Times Top 100. Project Evaluation Criteria The main IT project failure criteria identified by the IT and project managers were: * missed deadlines (75%) * exceeded budget (55%) * poor communications (40%) * inability to meet project requirements (37%). http://www.it-cortex.com/Stat_Failure_Cause.htm dimanche 3 novembre 13
  • 16. The Bull Survey (1998) 2005 managers All the Survey: interviewed had previously taken the lead in integrating large systems The Top Business Im Challe 100. within organizations n the Times Topnges Fa proveme in cing Busi t Architect Business An ’s research ness Ana alyst World survey of B l 2005 in Tor the Busines usiness Ana ysts Project Evaluation Criteria onto, Cana s Functions lysts attend da, identifie ’ and ‘Busin challenges ing Project d that ‘Lack ess Require facing their World/ of Clarity i ments Not organizatio n th W ll-Defin managers were: e Scope ns in mana by The main IT project failure criteria identifiedin the IT andeproject ed” of g g busine are the top -- http://ww ss requirem two * missed deadlinesar w.bia.ca/ (75%) ents. ticles/TheT opChalleng * exceeded budget (55%) esFacingBu sinessAnaly * poor communications (40%) sts.htm * inability to meet project requirements (37%). http://www.it-cortex.com/Stat_Failure_Cause.htm dimanche 3 novembre 13
  • 17. il s Fa t ojec ce 4 nd IT Pr ss a an IT lide= e n s busin 818& Why of Gover n ?c=81 cs twee ck x 1. La rnal Politi cation be w.asp o uni nte ws/sh 2. I comm ectations (1998) /slidesho r m p . Poo TheeBull Survey 3 ge.co ar x d e Uncl2 nesse 4. 0the Surw.itbusi All 05://ww vey: interviewed had previously taken the lead in integrating large systems managers Th e pess Busitn organizations in the p Challe 100. ht Improveme To Times Topnges F within acing Bu nt Architec Business An siness An t’s research alyst World al survey of B 2005 in Tor the Busines usiness Ana ysts Project Evaluation Criteria onto, Cana s Functions lysts attend da, identifie ’ and ‘Busin challenges ing Project d that ‘Lack ess Require facing their World/ of Clarity i ments Not organizatio n th W ll-Defin managers were: e Scope ns in mana by The main IT project failure criteria identifiedin the IT andeproject ed” of g g busine are the top -- http://ww ss requirem two * missed deadlinesar w.bia.ca/ (75%) ents. ticles/TheT opChalleng * exceeded budget (55%) esFacingBu sinessAnaly * poor communications (40%) sts.htm * inability to meet project requirements (37%). http://www.it-cortex.com/Stat_Failure_Cause.htm dimanche 3 novembre 13
  • 18. il s Fa t ojec ce 4 nd IT Pr ss a an IT lide= e n s busin 818& Why of Gover n es ?c=81 cs twee ck liti be spx le mistak . La o b .a n 1 preventa rnal P municatio show ly e s/ 2. Int r com on entire ns show r e o The Bulltatio each yea ec Survey (1998) om/slid rs 3. Po lear exp ge.c s of dolla d on Unc 2 nesseWe waste billi s 4. 0the Surw.iare siails tbu interviewed had previously taken theolead re-integrating large systems 05 managers F wa in fail ft All ://wwtvey: Th Sof w re/why-s e To BuWpess Im t h hsitn yorganizations in the p ChpTopn/softwa a in within 5) provemen Times ule g ges Fa /ctom lt 100. cing Busi t .org Busi200s An ( nes ness Ana m.ieeeArchi ect’s research actr survey of B l //spelystuWorld 2005 in the httsi:nes Bu p Evaluation Criteriaaorors:o usiness Ana ysts T Project s Function lys on f ct nt ,cCgoada, identi challenges c an m si s r R an ls fied that ‘La ts attending Project W st s’omd ‘Buteneps oje qt a t ng tho e ur nfg cihe m eiruorgainiula d Amo IT project failureccriteria ed resuirements Not Weproject k of Clarity in the o by nart zations identified ces the IT and ll-D c managers were: Sc orld/ The mainrealistic or ed in managinents o e e -- http*//Un ates of n requirem g business requ fined” are the top tw pe of : ww .b a. s(75%) * missed cwuriateaearim deadlines t o irements. c / ticles/ stem y heTo Ina c rs * se * exceededlbudget ned Te propech'allstngus C t s e at es defi (55%) h , a nd u j FacingBusin developers * Bad y rting of t e, * poor communications (40%) tomers ssAnalysts.htm or repo isks s * Po d r projectn among cu * inability anage to meet requirements (37%). Unm catio i * ommun chnology c ity * Poor complex ture te a t's http://www.it-cortex.com/Stat_Failure_Cause.htm se of imm andle the projec *U h s ability to pment practice * In py develo anagement * Slop m r project litics * Poo po eholder essures * Stak ercial pr * Comm dimanche 3 novembre 13
  • 19. l Seven cts Fai IT Projects Fail - February 2012 Reasons e 4 nd IT Proj nance ss a IT lide= e s 818& Why o1.GoverProject Planning en busin es ?c=81 twe and Direction ck f Poortics e li spx le mistak . La 2.l InsufficientbCommunication o b .a n 1 preventa rna P municatio show ly e s/ 2. Int r3.oIneffectivetions on entire m show r c o The Bullta Management com/slide each yea ec Survey (1998) ll 3. Po 4.aFailure to Align With. Constituentsf andars r exp dge ste billions o do Stakeholders e cl n sse s siaies - We wa 4. Un 2005 b tr u interviewed had previously taken theolead re-integrating large systems .iaye F l wa in fail ft All the/Surtwe : Th managers Sof w re/why-s :y/ww v e To BuWpess Im t h organizations in the p Chaulen/softwa hsitn http://www.ibmsystemsmag.com/power/Systems-Management/Workload-Management/ in within 5) provemen Times Top g ges Fa /ctomp lt 100. cing Busi t .org Busi200s An ( nes ness Ana project_pitfalls/?page=2 m.ieeeArchi ect’s research actr elystuWorld 20 p survey of B l the httsi:n/ss 05 in Torors: Bu p / e s Fu usiness Ana ysts Project Evaluation Criteriaact nto, Canals nctions’ommon f lyst challenges st c and ‘Buteneps oject go da, identified that ‘La s attending Project W si a t ng tho c orld/ nfg cihe m eiruorgainiula d s r Reesuirements No Amo IT project failureccriteria ed r q ources the IT t Weproject k of Clarity in the nart zations identified by The mainrealistic or and ll-Defined” managers were: Scope of d in m a g are the top Un es of nee quaneginentsiness re -- http*//ww ir m bus timat : es(75%) two quirements * missed cwuriatea/ar deadlines re . s Ina c .b a.c fintecles/TheTo i d ystem * s e at nd user pech'allstngus e * exceededlbudget (55%) e proj C t a esFacingBu Bad y d ting of th lopers, * s ne deve * poor communications (40%) eirs,ssAnalysts.htm por e custom * Poor r ed risks * inability anag to meet projectn among requirements (37%). Unm catio i * ommun chnology c ity * Poor complex ture te a t's http://www.it-cortex.com/Stat_Failure_Cause.htm se of imm andle the projec *U h s ability to pment practice * In py develo anagement * Slop m r project litics * Poo po eholder essures * Stak ercial pr * Comm dimanche 3 novembre 13
  • 20. l Seven cts Fai IT Projects Fail - February 2012 Reasons e 4 nd IT Proj nance ss a IT lide= e s 818& Why o1.GoverProject Planning en busin es ?c=81 twe and Direction ck f Poortics e li spx le mistak . La 2.l InsufficientbCommunication o b .a n 1 preventa rna P municatio show ly e s/ 2. Int r3.oIneffectivetions on entire m show r c o The Bullta Management com/slide each yea ec Survey (1998) ll 3. Po 4.aFailure to Align With. Constituentsf andars r exp dge ste billions o do Stakeholders e cl n sse s siaies - We wa 4. Un 2005 b tr u interviewed had previously taken theolead re-integrating large systems .iaye F l wa in fail ft All the/Surtwe : Th managers Sof w re/why-s :y/ww v e To BuWpess Im t h organizations in the p Chaulen/softwa hsitn http://www.ibmsystemsmag.com/power/Systems-Management/Workload-Management/ in within 5) provemen Times Top g ges Fa /ctomp lt 100. cing Busi t .org Busi200s An ( nes ness Ana project_pitfalls/?page=2 m.ieeeArchi ect’s research actr elystuWorld 20 p survey of B l the httsi:n/ss 05 in Torors: Bu p / e s Fu usiness Ana ysts Project Evaluation Criteriaact nt The Most CommonnFactmos for tho, Canada nctio s’om or n f lys challenges e qt go s , de tifift t ar ‘ a ts attending rojoject st c and ‘Buteneps ojecfailulre iofnSoedwhateLDevelopmentPPrect W si a t ng tho c orld/ nfg cihe m eiruorgainiula d s r Reesuirements No Amo IT project failureccriteria ed r ources the IT t Weproject k of Clarity in the nart zations identified by The of n us stimer and ll-Defined” managers were: Scope of 1. Lack mainrealitoc or or User eed in lvanaginents are the top UC es of n Invo memm gtbusiness re en -- http*//ww timat : ar gouriate es(75%) quire two quirements * missed deadlines d 2. Uncle Inacw.als.ca/artobjectivm re c b a an icles/T te es . s ys eTo * d fineSe h propech'allstngus s e at nd user e * exceededlbudget t a 3. Poor Requiremen(55%) he j Ct esFacingBu Bad y d ting of t lopers, t * s ne deve * poor so r ces communications (40%) 4. Lack of Reoourrepor eirs,ssAnalysts.htm custom *P s n * inability to municproject requirements (37%). 5. Failure to managed riskateationacmas g com meet nic and a t o a team * Un u r comm e technology ity * Poo complex tur a t's http://www.it-cortex.com/Stat_Failure_Cause.htm se of imm andle the projec *U h s ability to pment practice Volume 1, No. 11, January * In 2013 ISSN – 2278-1080 n py develo anagemeIntternational Jour * Slop nal of Computer Science & Applications t m The jecur ro jo nalocs mpu htPo://r p w. terscience.com/2013Issue/Jan13/V1No11Jan * tp o ww er politi fco 13P044.pdf takehold pressures *S l mmercia * Co dimanche 3 novembre 13
  • 21. Q u'es t ce qui se passe? Modèle Mental Ce qui est expliqué dimanche 3 novembre 13
  • 22. Q u'es t ce qui se passe? Modèle Mental Ce qui est expliqué Ce qui n'est pas retranscrit dimanche 3 novembre 13
  • 23. Q u'es t ce qui se passe? Modèle Mental Ce qui est expliqué Ce que l'autre Ce qui comprend n'est pas retranscrit dimanche 3 novembre 13 Modèle Mental
  • 24. Q u'es t ce qui se passe? Ce qui est spécifié dimanche 3 novembre 13
  • 25. Q u'es t ce qui se passe? Ce qui va être testé dimanche 3 novembre 13
  • 26. Q u'es t ce qui se passe? Ce qui va être testé Ce qui est réalisé dimanche 3 novembre 13
  • 27. Q u'es t ce qui se passe? dimanche 3 novembre 13
  • 28. Q u'es t ce qui se passe? dimanche 3 novembre 13
  • 29. Q u'es t ce qui se passe? dimanche 3 novembre 13
  • 30. Q u'es t ce qui se passe? dimanche 3 novembre 13
  • 31. Q u'es t ce qui se passe? dimanche 3 novembre 13
  • 32. Q u'es t ce qui se passe? Ce qui a été réalisé Correspond à l'idée initiale dimanche 3 novembre 13
  • 33. Q u'es t ce qui se passe? aannnnnn NNNA Ce qui a été réalisé vs Correspond à l'idée initiale dimanche 3 novembre 13
  • 35. 3 étapes 3 modèles 3 interprétations dimanche 3 novembre 13
  • 36. 3 étapes 3 modèles 3 interprétations dimanche 3 novembre 13
  • 37. 3 visions 1 modèle 1 objectif dimanche 3 novembre 13
  • 44. oi ? rqu u Po l but? ns que Da Quelle valeur? dimanche 3 novembre 13
  • 45. Intention oi ? rqu u Po l but? ns que Da Quelle valeur? dimanche 3 novembre 13
  • 46. Feature: ... Intention ourquoi? P In order to <achieve the vision> l but? As a <stakeholder> ns que Da I want <value> Quelle valeur? dimanche 3 novembre 13
  • 47. Feature: ... Intention ourquoi? P In order to <achieve the vision> l but? As a <stakeholder> ns que Da I want <value> Quelle valeur? As a <role> I want <goal> So that <value> focused User dimanche 3 novembre 13
  • 49. Feature: ... In order to... As a... I want to... dimanche 3 novembre 13
  • 50. Feature: ... In order to... As a... I want to... dimanche 3 novembre 13
  • 51. Feature: ... In order to... As a... I want to... Scenario: ... Given <a context> When <an event occurs> Then <an outcome> dimanche 3 novembre 13
  • 52. Feature: Account Holder withdraws cash from an ATM In the following scenario, ATM will stands for Automatic Teller Machine in other word a “Cash machine”. In order to get money at any time, even when the bank is closed As an Account Holder I want to withdraw cash from an ATM Scenario: Account has sufficient funds Given the account balance is 100€ When the Account Holder requests 20€ Then the ATM should dispense 20€ And the account balance should be 80€ And the card should be returned dimanche 3 novembre 13
  • 53. Feature: ATM is monitored to keep track of remaining bills In the following scenario, ATM will stands for Automatic Teller Machine in other word a “Cash machine”. In order to make sure customer always use our machine As an ATM technician I want to be informed whenever the bills runs out Scenario: Email sent on the last 10€ bill Given the ATM has following bills | value | quantity | | 10 | 1 | | 20 | 200 | When the an Account Holder requests 30€ Then an email should be sent indicating 10€ bills run out dimanche 3 novembre 13
  • 54. Feature: Market Share Analysis control In order to detect abuse of Market Share Analysis and price variation imposed by the financial regulation As an compliance officer I want to control and identify products on which X has been a significant trading participant compared to the daily market volume and where the intraday price variation and/or closing price variation has also been significant. dimanche 3 novembre 13
  • 55. Feature: ... In order to... As a... I want to... Scenario: ... Given <a context> When <an event occurs> Then <an outcome> dimanche 3 novembre 13
  • 56. Feature: ... In order to... As a... I want to... Scenario: ... Given <a context> When <an event occurs> Then <an outcome> dimanche 3 novembre 13
  • 66. Une fonctionnalité Collaboration Connaissance Partagée Compréhension dimanche 3 novembre 13 BDD = A Shared Understanding by discussing Examples
  • 68. Une fonctionnalité Exécutable Automatisation dimanche 3 novembre 13 Des Cas Concrets d'utilisation
  • 69. Une fonctionnalité Exécutable Automatisation dimanche 3 novembre 13 Des Cas Concrets d'utilisation
  • 70. Une fonctionnalité Exécutable Automatisation dimanche 3 novembre 13 Des Cas Concrets d'utilisation
  • 71. Spécifications exécutables aujourd'hui Tests de non Régressions demain Documentation Vivante "pour toujours" dimanche 3 novembre 13
  • 72. C'est quoi le rapport avec ça!?! dimanche 3 novembre 13
  • 73. C'est quoi le rapport avec ça!?! 1 dimanche 3 novembre 13 ère hypothèse
  • 74. C'est quoi le rapport avec ça!?! 2 dimanche 3 novembre 13 nde hypothèse
  • 75. C'est quoi le rapport avec ça!?! 2 dimanche 3 novembre 13 nde hypothèse
  • 76. dimanche 3 novembre 13 APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO
  • 77. UI APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO FEST, Selenium, Fluentlenium, HtmlUnit, Watir... "End to End" dimanche 3 novembre 13
  • 78. APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO Services Web, WCF, ... "End to End" dimanche 3 novembre 13
  • 79. Sub-Module runtime dimanche 3 novembre 13 APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO
  • 80. Sub-Module runtime dimanche 3 novembre 13 APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO
  • 83. APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO Mock, Stubs... "Quasi-Unitaire" runtime dimanche 3 novembre 13
  • 84. dimanche 3 novembre 13 APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO
  • 85. dimanche 3 novembre 13 APPLICATION GLUE CODE BDD FRAMEWORK SCENARIO
  • 86. dimanche 3 novembre 13 APPLICATION GLUE CODE Scenario: Account has sufficient funds Given the account balance is 100€ When the Account Holder requests 20€ Then the ATM should dispense 20€ And the account balance should be 80€ And the card should be returned BDD FRAMEWORK SCENARIO
  • 87. dimanche 3 novembre 13 APPLICATION GLUE CODE Scenario: Account has sufficient funds Given the account balance is 100€ When the Account Holder requests 20€ Then the ATM should dispense 20€ And the account balance should be 80€ And the card should be returned BDD FRAMEWORK SCENARIO
  • 88. GLUE CODE Scenario: Account has sufficient funds Given the account balance is 100€ When the Account Holder requests 20€ Then the ATM should dispense 20€ And the account balance should be 80€ And the card should be returned @When("^the Account Holder request (d+)€$") public void withdrawInEuro (BigDecimal amount) { throw new PendingException("Implements me!"); } @Then("^the ATM should dispense (d+)€$") public void assertMoneyDispensedInEuro (BigDecimal amount) { throw new PendingException("Implements me!"); } @Then("^the account balance should be (d+)€$") public void assertBalanceInEuro(BigDecimal amount) { throw new PendingException("Implements me!"); } dimanche 3 novembre 13 APPLICATION SCENARIO BDD FRAMEWORK @Given("^the account balance is (d+)€$") public void defineAccountBalanceInEuro(BigDecimal balance) { throw new PendingException("Implements me!"); }
  • 89. GLUE CODE Scenario: Account has sufficient funds Given the account balance is 100€ When the Account Holder requests 20€ Then the ATM should dispense 20€ And the account balance should be 80€ And the card should be returned @When("^the Account Holder request (d+)€$") public void withdrawInEuro (BigDecimal amount) { atm().withdraw(account(), euro(amount)); } @Then("^the ATM should dispense (d+)€$") public void assertMoneyDispensedInEuro (BigDecimal amount) { TransactionLog txLog = atm().transactionLog(); Money dispensed = txLog.lastAmountDispensed(); assertThat(dispensed).isEqualTo(euro(amount)); } @Then("^the account balance should be (d+)€$") public void assertBalanceInEuro(BigDecimal amount) { Money actualBalance = account().balance(); assertThat(actualBalance).isEqualTo(euro(amount)); } dimanche 3 novembre 13 APPLICATION SCENARIO BDD FRAMEWORK @Given("^the account balance is (d+)€$") public void defineAccountBalanceInEuro(BigDecimal balance) { account().setBalance(euro(balance)); }
  • 90. adopte BDD * des spécifications à caliner dimanche 3 novembre 13
  • 93. Meet the Parents (2000) dimanche 3 novembre 13
  • 94. Deviennent Exécutable tomatisation Au Deviennent Décrivent e xempilo s E r Scéna Clarifient dimanche 3 novembre 13 Vérifiée par Tests de Non Régression Living Documentation Spécification fait office de ation Collaboration munic Com Ensemble