SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
IMPACT
ANALYSIS
CHRISLEMA | CROWDFAVORITE
This  is  a  story  that  bears  strong  resemblance  to  a  real  
project.  I  can’t  tell  you  the  details  but  I  can  tell  you  
enough  of  it  to  make  it  useful  as  a  story.  I’ll  protect  the  
innocent.  Oh	
  wait,	
  there	
  were	
  no	
  innocents.	
  
CAN I TELL YOU A STORY?
PERFECT
CLIENT
BUILD  THE  
SOLUTION
DESIGN  THE  
SOLUTION
RECIEVE  THE  
REQUIREMENTS
GO  THROUGH  THE  
SECOND  ROUND  
OF  SAME  PHASE
NO	
  
YES	
  
TEST  &  SHOW  
THE  CLIENT
release
start  of  iteraPon
THEWAYIT’SSUPPOSEDTOWORK
LARGE
CLIENT
BUILD  THE  
SOLUTION
DESIGN  THE  
SOLUTION
RECIEVE  THE  
REQUIREMENTS
YES.  WE  KNOW  
WHO  YOU  ARE.
OK.  WE’RE  ON  IT.
NO	
  
WAIT!  LET’S  
ADD  NEW  
SCOPE
TEST  &  SHOW  
THE  CLIENT
WHATHAPPENSWHEN...
THE DANGER ZONE
The  porPon  of  a  project  where  all  your  profit  disappears  
and  you’re  wondering  how  you  got  here  in  the  first  place.
HOPE
ACTUAL
SOW  
 DEVELOPMENT  &  QA
DISCOVERY
LAUNCH
Jan
 Feb
 Mar
 Apr
 May
 Jun
 Jul
 Aug
 Sep
 Oct
 Nov
 Dec
 Jan
 Feb
 Mar
 Apr
 May
 Jun
 Jul
 Aug
 Sep
2014
 2015
THE PROJECT TIMELINE TELLS THE STORY
SOW
 DEVELOPMENT
DISCOVERY
SOW  &  CONTRACTS  
 DEVELOPMENT
DISCOVERY
LAUNCH
PARTNER  API  IS  A  WORK  IN  PROGRESS
DANGER ZONE
CLIENTS
ARE IDEA
FACTORIES
You  can’t  blame  a  client  for  having  a  lot  of  
new  ideas  when  they  can  finally  interact  
with  the  system  they’ve  been  paying  for.
DEVELOPERS
GET EASILY
ANCHORED
We  o]en  get  locked  in  on  the  original  statement  
of  work  -­‐  and  the  tasks  we  created  based  on  
them.  Even  if  a  client  has  to  adjust  course.
THE
TRUTH:
THE PROBLEM
ISN’T CLIENTS
& IT’S NOT
DEVELOPERS
THE PROJECT BY THE NUMBERS
# OF COMMITS
# OF
CONTRIBUTORS
# OF MONTHS
4461 12 8
THE PROBLEM IS OUR
BRAIN & MEMORY
0% The number of staff we have that have perfect
memory and can do impact analysis in their sleep.
IMPACT ANALYSIS
The  work  that  must  be  done  when  a  client  
requests  new  work  (new  scope)  and  it  must  be  
determined  what  the  changes  will  do  (what  
impact  they’ll  have)  on  exisPng  code.


HINT:	
  IT’S	
  REALLY	
  HARD	
  TO	
  DO.	
  
HOW DO YOU MAKE CHOICES WHEN
YOU WRITE CODE?
Idea
Insight
CODE
CODE
 CODE
Talk
Talk
Talk
Choice
 Choice
Choice
If  you  noPce  the  
performance  isn’t  
great,  maybe  you  
try  a  new  approach.
Seeing  someone  
else’s  code  helps  you  
think  about  your  own  
in  a  new  way.
New  informaPon  
suggests  you  
thought  about  it  all  
wrong.  Which  leads  
to  changes  in  your  
code.
LET ME MAKE A GUESS. YOU DON’T WRITE THIS ALL DOWN. I NEVER DID.	
  
 	
  
NOTACHANGEORDERISSUE
NOT  A  MONEY  ISSUE.  IT’S  ABOUT  RISK  MITIGATION.
THE DANGER ZONE
The  place  where  you  break  your  own  code  and  can’t  
charge  anyone  else  because  it’s  your  mistake.
HOPE
ACTUAL
SOW  
 DEVELOPMENT  &  QA
DISCOVERY
LAUNCH
Jan
 Feb
 Mar
 Apr
 May
 Jun
 Jul
 Aug
 Sep
 Oct
 Nov
 Dec
 Jan
 Feb
 Mar
 Apr
 May
 Jun
 Jul
 Aug
 Sep
2014
 2015
WE CREATED CHANGE ORDERS FOR NEW WORK...
SOW
 DEVELOPMENT
DISCOVERY
SOW  &  CONTRACTS  
 DEVELOPMENT
DISCOVERY
LAUNCH
PARTNER  API  IS  A  WORK  IN  PROGRESS
DANGER ZONE
Everything, which is done orderly,
with measure and according to
rules, generates something good.
Plato
This  is  another  story.  It’s  what  turned  me  
onto  automated	
  impact	
  analysis	
  thru  
acceptance  tesPng.	
  
CAN I TELL YOU A STORY?
The  trading  engine  for  
market  makers  was  a  
message-­‐oriented	
  soluEon	
  
that  was  having  
performance  issues.
	
  
No  one  thought  about  
gridlock  because  no	
  one	
  
thought	
  about	
  the	
  big	
  
picture.	
  
PACIFIC STOCK EXCHANGE
HIRE
OLD
PEOPLE
T I N Y L I T T L E P L U G
B E C A U S E T H E Y C A N W R I T E B O O K S F I L L E D W I T H L E S S O N S L E A R N E D
IMPACT ANALYSIS
IS EASIER & FASTER
USING
CODECEPTION
FOR ACCEPTANCE TESTING
ACCEPTANCE TESTS
REPLICATE A USER’S
EXPERIENCE & ARE DRIVEN
BY “EXPECTATION” LOGIC.
THEY REMEMBER ALL THE PREVIOUS
DECISIONS & PROMISES YOU MADE.
Title
As a [role]
I want [feature]
So that [benefit]
Acceptance Criteria
Scenario: Title
Given [context]
When [event]
Then [outcome]
hdp://dannorth.net/whats-­‐in-­‐a-­‐story/
<?php
$I = new AcceptanceTester($scenario);
$I->am(‘A Subscriber’);
$I->wantTo(‘edit my profile’);
$I->amOnPage(‘/members/edit-profile/’);
$I->canSee(‘Personal Information’);
?>
$  php  codecept.phar  generate:scenarios
I want to edit my profile
I am on page ‘members/edit-profile’
I see ‘Personal Information’
...
This  is  the  expectaPon  logic  that  is  easy  to  remember  later.  And  it’s  really  
helpful  when  something  breaks.  Because  we  know  exactly  what  we  were  
trying  to  do  and  how  to  verify  that  something  broke.
wantTo
amOnPage
lookForwardTo
click
fillField
selectOption
submitForm
see
seeLink
seeElement
dontSeeElement
seeInCurrentUrl
seeCheckboxIsChecked
seeInField
CODECEPTION COMMANDS	
  
1.  wget http://codeception.com/codecept.phar
2. php codecept.phar bootstrap
3. php codecept.phar generate:cept acceptance Welcome
4. Edit file tests/acceptance/WelcomeCept.php
5. Write your first acceptance test
6. Put application URL into tests/acceptance.suite.yml
7.  php codecept.phar run
	
  
GETTING STARTED IS EASY
hdp://codecepPon.com/quickstart
395ACCEPTANCE TESTS
AUTOMATED ACCEPTANCE TESTING
GITHUB	
  SCRUTINIZER	
  CODECEPTION	
  CAPISTRANO	
  
PUSH
 REPO
TESTS
Registered  w/  ScruPnizer?
 ScruPnizer  calls  
CodecepPon
Do  the  tests  pass?
ScruPnizer  
iniPates
deployment
Capistrano  only  deploys  code  that’s  passed  acceptance  tests
80mph
SPEED
The  goal  isn’t  to  write  these  tests  
quickly.  Or  even  to  learn  quickly  which  
acceptance  tests  to  write.  The  goal  is  
to  find  places  of  impact  quickly.
ConEnuous	
  effort	
  	
  
–  not  strength  or  intelligence  –    
is  the  key  to  unlocking  our  
potenPal.  
Sir	
  Winston	
  Churchill
Maybe  you  saw  this  in  the  papers,  online,    
or  read  about  it  recently.  It  sPll  bears  telling.	
  
ONE LAST STORY...
KNIGHT CAPITAL - August 2012
$440
million
$10MM
every minute
45
MINUTES
8
SERVERS
LET ME MAKE A GUESS. YOU DON’T WANT YOUR NAME IN AN SEC FILING. 	
  
RESOURCES
TO GET YOU STARTED
hdp://codecepPon.com/quickstart
hdp://codecepPon.com/docs/01-­‐IntroducPon
hdp://codecepPon.com/docs/02-­‐GekngStarted
hdp://codecepPon.com/docs/04-­‐AcceptanceTests
hdp://dannorth.net/whats-­‐in-­‐a-­‐story/
hdps://vimeo.com/rzen/codecepPon
CHRIS LEMA
CTO & CHIEF STRATEGIST, CROWD FAVORITE
@chrislema | http://chrislema.com

Weitere ähnliche Inhalte

Was ist angesagt?

2010 10 19 the lean startup workshop for i_gap ireland
2010 10 19 the lean startup workshop for i_gap ireland2010 10 19 the lean startup workshop for i_gap ireland
2010 10 19 the lean startup workshop for i_gap ireland
Eric Ries
 
Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...
Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...
Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...
Eric Ries
 

Was ist angesagt? (10)

Best Practices for Effective Website Testing & Optimization (Webinar)
Best Practices for Effective Website Testing & Optimization (Webinar)Best Practices for Effective Website Testing & Optimization (Webinar)
Best Practices for Effective Website Testing & Optimization (Webinar)
 
#NoEstimates Thinking
#NoEstimates Thinking#NoEstimates Thinking
#NoEstimates Thinking
 
L'illusione dell'ortogonalità
L'illusione dell'ortogonalitàL'illusione dell'ortogonalità
L'illusione dell'ortogonalità
 
Software projects can go well... ask me how
Software projects can go well... ask me howSoftware projects can go well... ask me how
Software projects can go well... ask me how
 
What it Really Means to Be Agile
What it Really Means to Be AgileWhat it Really Means to Be Agile
What it Really Means to Be Agile
 
A Mockery of a persentation
A Mockery of a persentationA Mockery of a persentation
A Mockery of a persentation
 
Invest Model in Good Stories
Invest Model in Good StoriesInvest Model in Good Stories
Invest Model in Good Stories
 
Running lean at myhammer.de (leanstartupmeetup berlin july 2011, #LSMupBLN au...
Running lean at myhammer.de (leanstartupmeetup berlin july 2011, #LSMupBLN au...Running lean at myhammer.de (leanstartupmeetup berlin july 2011, #LSMupBLN au...
Running lean at myhammer.de (leanstartupmeetup berlin july 2011, #LSMupBLN au...
 
2010 10 19 the lean startup workshop for i_gap ireland
2010 10 19 the lean startup workshop for i_gap ireland2010 10 19 the lean startup workshop for i_gap ireland
2010 10 19 the lean startup workshop for i_gap ireland
 
Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...
Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...
Eric Ries Lean Startup Presentation For Web 2.0 Expo April 1 2009 A Disciplin...
 

Andere mochten auch

Iso 9001 14001, quality management, rolls royce (orton, 2009)
Iso 9001 14001, quality management, rolls royce (orton, 2009)Iso 9001 14001, quality management, rolls royce (orton, 2009)
Iso 9001 14001, quality management, rolls royce (orton, 2009)
Jose P. Banuelos
 
Folder Sport en bewegen in de buurt_WEB
Folder Sport en bewegen in de buurt_WEBFolder Sport en bewegen in de buurt_WEB
Folder Sport en bewegen in de buurt_WEB
Maikel Rijnenberg
 
MONO RAIL SYSTEM FOR BANGALORE
MONO RAIL SYSTEM FOR BANGALOREMONO RAIL SYSTEM FOR BANGALORE
MONO RAIL SYSTEM FOR BANGALORE
Bangalore Real
 
7-12-15 Organ Concert Program
7-12-15 Organ Concert Program7-12-15 Organ Concert Program
7-12-15 Organ Concert Program
Blake Doss
 
Portfolio-anis
Portfolio-anisPortfolio-anis
Portfolio-anis
artcitizen
 
Certificarte of Arizona Skills Standards
Certificarte of Arizona Skills StandardsCertificarte of Arizona Skills Standards
Certificarte of Arizona Skills Standards
Michael Abeyta
 
Intl Rev Thromb 2014_9(2) Digest
Intl Rev Thromb 2014_9(2) DigestIntl Rev Thromb 2014_9(2) Digest
Intl Rev Thromb 2014_9(2) Digest
Taketoshi Santo
 
White Paper_ Connect with Leaders_ Internship Proposal
White Paper_ Connect with Leaders_ Internship ProposalWhite Paper_ Connect with Leaders_ Internship Proposal
White Paper_ Connect with Leaders_ Internship Proposal
C S Krishna
 

Andere mochten auch (13)

Iso 9001 14001, quality management, rolls royce (orton, 2009)
Iso 9001 14001, quality management, rolls royce (orton, 2009)Iso 9001 14001, quality management, rolls royce (orton, 2009)
Iso 9001 14001, quality management, rolls royce (orton, 2009)
 
Iso9001leadauditor fourpage-131129094738-phpapp01
Iso9001leadauditor fourpage-131129094738-phpapp01Iso9001leadauditor fourpage-131129094738-phpapp01
Iso9001leadauditor fourpage-131129094738-phpapp01
 
Folder Sport en bewegen in de buurt_WEB
Folder Sport en bewegen in de buurt_WEBFolder Sport en bewegen in de buurt_WEB
Folder Sport en bewegen in de buurt_WEB
 
MONO RAIL SYSTEM FOR BANGALORE
MONO RAIL SYSTEM FOR BANGALOREMONO RAIL SYSTEM FOR BANGALORE
MONO RAIL SYSTEM FOR BANGALORE
 
7-12-15 Organ Concert Program
7-12-15 Organ Concert Program7-12-15 Organ Concert Program
7-12-15 Organ Concert Program
 
Portfolio-anis
Portfolio-anisPortfolio-anis
Portfolio-anis
 
Planillas de combate junior norte centro 2015
Planillas de combate junior norte centro 2015Planillas de combate junior norte centro 2015
Planillas de combate junior norte centro 2015
 
Certificarte of Arizona Skills Standards
Certificarte of Arizona Skills StandardsCertificarte of Arizona Skills Standards
Certificarte of Arizona Skills Standards
 
Intl Rev Thromb 2014_9(2) Digest
Intl Rev Thromb 2014_9(2) DigestIntl Rev Thromb 2014_9(2) Digest
Intl Rev Thromb 2014_9(2) Digest
 
CV_Poliarco,Romeo
CV_Poliarco,RomeoCV_Poliarco,Romeo
CV_Poliarco,Romeo
 
Đại học Namseoul ngôi trường lý tưởng cho sinh viên du học Hàn Quốc
Đại học Namseoul ngôi trường lý tưởng cho sinh viên du học Hàn QuốcĐại học Namseoul ngôi trường lý tưởng cho sinh viên du học Hàn Quốc
Đại học Namseoul ngôi trường lý tưởng cho sinh viên du học Hàn Quốc
 
The 20 Best Ingredients for the Ultimate Smoothie
The 20 Best Ingredients for the Ultimate SmoothieThe 20 Best Ingredients for the Ultimate Smoothie
The 20 Best Ingredients for the Ultimate Smoothie
 
White Paper_ Connect with Leaders_ Internship Proposal
White Paper_ Connect with Leaders_ Internship ProposalWhite Paper_ Connect with Leaders_ Internship Proposal
White Paper_ Connect with Leaders_ Internship Proposal
 

Ähnlich wie Impactanalysis 150507054758-lva1-app6891

Software Development Life CyclesPresented byBrenda Reynold.docx
Software Development Life CyclesPresented byBrenda Reynold.docxSoftware Development Life CyclesPresented byBrenda Reynold.docx
Software Development Life CyclesPresented byBrenda Reynold.docx
rosemariebrayshaw
 
STQA-Vol9-Issue2-March-2012-Software-Testing-Magazine
STQA-Vol9-Issue2-March-2012-Software-Testing-MagazineSTQA-Vol9-Issue2-March-2012-Software-Testing-Magazine
STQA-Vol9-Issue2-March-2012-Software-Testing-Magazine
Albert Gareev
 
2009 10 28 The Lean Startup In Paris
2009 10 28 The Lean Startup In Paris2009 10 28 The Lean Startup In Paris
2009 10 28 The Lean Startup In Paris
Eric Ries
 

Ähnlich wie Impactanalysis 150507054758-lva1-app6891 (20)

2010 04 28 The Lean Startup webinar for the Lean Enterprise Institute
2010 04 28 The Lean Startup webinar for the Lean Enterprise Institute2010 04 28 The Lean Startup webinar for the Lean Enterprise Institute
2010 04 28 The Lean Startup webinar for the Lean Enterprise Institute
 
Software Development Life CyclesPresented byBrenda Reynold.docx
Software Development Life CyclesPresented byBrenda Reynold.docxSoftware Development Life CyclesPresented byBrenda Reynold.docx
Software Development Life CyclesPresented byBrenda Reynold.docx
 
Bundledarrows150 bit.ly/teamcaptainsmanagementcampsv
Bundledarrows150 bit.ly/teamcaptainsmanagementcampsvBundledarrows150 bit.ly/teamcaptainsmanagementcampsv
Bundledarrows150 bit.ly/teamcaptainsmanagementcampsv
 
STQA-Vol9-Issue2-March-2012-Software-Testing-Magazine
STQA-Vol9-Issue2-March-2012-Software-Testing-MagazineSTQA-Vol9-Issue2-March-2012-Software-Testing-Magazine
STQA-Vol9-Issue2-March-2012-Software-Testing-Magazine
 
2010 03 09 the lean startup - gdc
2010 03 09 the lean startup - gdc2010 03 09 the lean startup - gdc
2010 03 09 the lean startup - gdc
 
The Missing Piece between Discovery and Execution
The Missing Piece between Discovery and ExecutionThe Missing Piece between Discovery and Execution
The Missing Piece between Discovery and Execution
 
Increasing The Probability Of Success For Your Project
Increasing The Probability Of Success For Your ProjectIncreasing The Probability Of Success For Your Project
Increasing The Probability Of Success For Your Project
 
Rapid prototyping and how to avoid building a product nobody wants
Rapid prototyping and how to avoid building a product nobody wantsRapid prototyping and how to avoid building a product nobody wants
Rapid prototyping and how to avoid building a product nobody wants
 
0 for 3: Edtech Startup Lessons Learned
0 for 3: Edtech Startup Lessons Learned0 for 3: Edtech Startup Lessons Learned
0 for 3: Edtech Startup Lessons Learned
 
Thinking more product: Moving from Scrum to a dual-track agile approach by Su...
Thinking more product: Moving from Scrum to a dual-track agile approach by Su...Thinking more product: Moving from Scrum to a dual-track agile approach by Su...
Thinking more product: Moving from Scrum to a dual-track agile approach by Su...
 
Test execution
Test executionTest execution
Test execution
 
Master the essentials of conversion optimization
Master the essentials of conversion optimizationMaster the essentials of conversion optimization
Master the essentials of conversion optimization
 
SearchLove London 2016 | Stephen Pavlovich | Habits of Advanced Conversion Op...
SearchLove London 2016 | Stephen Pavlovich | Habits of Advanced Conversion Op...SearchLove London 2016 | Stephen Pavlovich | Habits of Advanced Conversion Op...
SearchLove London 2016 | Stephen Pavlovich | Habits of Advanced Conversion Op...
 
Driving agility into your customer experience
Driving agility into your customer experienceDriving agility into your customer experience
Driving agility into your customer experience
 
A Big Dashboard of Problems.pdf
A Big Dashboard of Problems.pdfA Big Dashboard of Problems.pdf
A Big Dashboard of Problems.pdf
 
PVS-Studio and CppCat: An Interview with Andrey Karpov, the Project CTO and D...
PVS-Studio and CppCat: An Interview with Andrey Karpov, the Project CTO and D...PVS-Studio and CppCat: An Interview with Andrey Karpov, the Project CTO and D...
PVS-Studio and CppCat: An Interview with Andrey Karpov, the Project CTO and D...
 
2010 08 19 The Lean Startup TechAviv
2010 08 19 The Lean Startup TechAviv2010 08 19 The Lean Startup TechAviv
2010 08 19 The Lean Startup TechAviv
 
2009 10 28 The Lean Startup In Paris
2009 10 28 The Lean Startup In Paris2009 10 28 The Lean Startup In Paris
2009 10 28 The Lean Startup In Paris
 
“Don’t Repeat Yourself”: 4 Process Street Features to Keep Work DRY
“Don’t Repeat Yourself”: 4 Process Street Features to Keep Work DRY“Don’t Repeat Yourself”: 4 Process Street Features to Keep Work DRY
“Don’t Repeat Yourself”: 4 Process Street Features to Keep Work DRY
 
DeKnowledge - Try us
DeKnowledge - Try usDeKnowledge - Try us
DeKnowledge - Try us
 

Kürzlich hochgeladen

internship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamrainternship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamra
AllTops
 
Beyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable developmentBeyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable development
Nimot Muili
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Riyadh +966572737505 get cytotec
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
alinstan901
 
The Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard BrownThe Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard Brown
SandaliGurusinghe2
 

Kürzlich hochgeladen (17)

Marketing Management 16th edition by Philip Kotler test bank.docx
Marketing Management 16th edition by Philip Kotler test bank.docxMarketing Management 16th edition by Philip Kotler test bank.docx
Marketing Management 16th edition by Philip Kotler test bank.docx
 
internship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamrainternship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamra
 
Strategic Management, Vision Mission, Internal Analsysis
Strategic Management, Vision Mission, Internal AnalsysisStrategic Management, Vision Mission, Internal Analsysis
Strategic Management, Vision Mission, Internal Analsysis
 
digital Human resource management presentation.pdf
digital Human resource management presentation.pdfdigital Human resource management presentation.pdf
digital Human resource management presentation.pdf
 
Beyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable developmentBeyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable development
 
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...Dealing with Poor Performance - get the full picture from 3C Performance Mana...
Dealing with Poor Performance - get the full picture from 3C Performance Mana...
 
Leaders enhance communication by actively listening, providing constructive f...
Leaders enhance communication by actively listening, providing constructive f...Leaders enhance communication by actively listening, providing constructive f...
Leaders enhance communication by actively listening, providing constructive f...
 
Reviewing and summarization of university ranking system to.pptx
Reviewing and summarization of university ranking system  to.pptxReviewing and summarization of university ranking system  to.pptx
Reviewing and summarization of university ranking system to.pptx
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
 
Safety T fire missions army field Artillery
Safety T fire missions army field ArtillerySafety T fire missions army field Artillery
Safety T fire missions army field Artillery
 
Independent Escorts Vikaspuri / 9899900591 High Profile Escort Service in Delhi
Independent Escorts Vikaspuri  / 9899900591 High Profile Escort Service in DelhiIndependent Escorts Vikaspuri  / 9899900591 High Profile Escort Service in Delhi
Independent Escorts Vikaspuri / 9899900591 High Profile Escort Service in Delhi
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
 
The Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard BrownThe Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard Brown
 
International Ocean Transportation p.pdf
International Ocean Transportation p.pdfInternational Ocean Transportation p.pdf
International Ocean Transportation p.pdf
 
How Software Developers Destroy Business Value.pptx
How Software Developers Destroy Business Value.pptxHow Software Developers Destroy Business Value.pptx
How Software Developers Destroy Business Value.pptx
 
Intro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptxIntro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptx
 
W.H.Bender Quote 62 - Always strive to be a Hospitality Service professional
W.H.Bender Quote 62 - Always strive to be a Hospitality Service professionalW.H.Bender Quote 62 - Always strive to be a Hospitality Service professional
W.H.Bender Quote 62 - Always strive to be a Hospitality Service professional
 

Impactanalysis 150507054758-lva1-app6891

  • 2. This  is  a  story  that  bears  strong  resemblance  to  a  real   project.  I  can’t  tell  you  the  details  but  I  can  tell  you   enough  of  it  to  make  it  useful  as  a  story.  I’ll  protect  the   innocent.  Oh  wait,  there  were  no  innocents.   CAN I TELL YOU A STORY?
  • 3. PERFECT CLIENT BUILD  THE   SOLUTION DESIGN  THE   SOLUTION RECIEVE  THE   REQUIREMENTS GO  THROUGH  THE   SECOND  ROUND   OF  SAME  PHASE NO   YES   TEST  &  SHOW   THE  CLIENT release start  of  iteraPon THEWAYIT’SSUPPOSEDTOWORK
  • 4. LARGE CLIENT BUILD  THE   SOLUTION DESIGN  THE   SOLUTION RECIEVE  THE   REQUIREMENTS YES.  WE  KNOW   WHO  YOU  ARE. OK.  WE’RE  ON  IT. NO   WAIT!  LET’S   ADD  NEW   SCOPE TEST  &  SHOW   THE  CLIENT WHATHAPPENSWHEN...
  • 5. THE DANGER ZONE The  porPon  of  a  project  where  all  your  profit  disappears   and  you’re  wondering  how  you  got  here  in  the  first  place. HOPE ACTUAL SOW   DEVELOPMENT  &  QA DISCOVERY LAUNCH Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep 2014 2015 THE PROJECT TIMELINE TELLS THE STORY SOW DEVELOPMENT DISCOVERY SOW  &  CONTRACTS   DEVELOPMENT DISCOVERY LAUNCH PARTNER  API  IS  A  WORK  IN  PROGRESS DANGER ZONE
  • 6. CLIENTS ARE IDEA FACTORIES You  can’t  blame  a  client  for  having  a  lot  of   new  ideas  when  they  can  finally  interact   with  the  system  they’ve  been  paying  for.
  • 7. DEVELOPERS GET EASILY ANCHORED We  o]en  get  locked  in  on  the  original  statement   of  work  -­‐  and  the  tasks  we  created  based  on   them.  Even  if  a  client  has  to  adjust  course.
  • 9. THE PROJECT BY THE NUMBERS # OF COMMITS # OF CONTRIBUTORS # OF MONTHS 4461 12 8
  • 10. THE PROBLEM IS OUR BRAIN & MEMORY
  • 11. 0% The number of staff we have that have perfect memory and can do impact analysis in their sleep.
  • 12. IMPACT ANALYSIS The  work  that  must  be  done  when  a  client   requests  new  work  (new  scope)  and  it  must  be   determined  what  the  changes  will  do  (what   impact  they’ll  have)  on  exisPng  code. HINT:  IT’S  REALLY  HARD  TO  DO.  
  • 13. HOW DO YOU MAKE CHOICES WHEN YOU WRITE CODE? Idea Insight CODE CODE CODE Talk Talk Talk Choice Choice Choice If  you  noPce  the   performance  isn’t   great,  maybe  you   try  a  new  approach. Seeing  someone   else’s  code  helps  you   think  about  your  own   in  a  new  way. New  informaPon   suggests  you   thought  about  it  all   wrong.  Which  leads   to  changes  in  your   code. LET ME MAKE A GUESS. YOU DON’T WRITE THIS ALL DOWN. I NEVER DID.  
  • 14.     NOTACHANGEORDERISSUE NOT  A  MONEY  ISSUE.  IT’S  ABOUT  RISK  MITIGATION.
  • 15. THE DANGER ZONE The  place  where  you  break  your  own  code  and  can’t   charge  anyone  else  because  it’s  your  mistake. HOPE ACTUAL SOW   DEVELOPMENT  &  QA DISCOVERY LAUNCH Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep 2014 2015 WE CREATED CHANGE ORDERS FOR NEW WORK... SOW DEVELOPMENT DISCOVERY SOW  &  CONTRACTS   DEVELOPMENT DISCOVERY LAUNCH PARTNER  API  IS  A  WORK  IN  PROGRESS DANGER ZONE
  • 16. Everything, which is done orderly, with measure and according to rules, generates something good. Plato
  • 17. This  is  another  story.  It’s  what  turned  me   onto  automated  impact  analysis  thru   acceptance  tesPng.   CAN I TELL YOU A STORY?
  • 18. The  trading  engine  for   market  makers  was  a   message-­‐oriented  soluEon   that  was  having   performance  issues.   No  one  thought  about   gridlock  because  no  one   thought  about  the  big   picture.   PACIFIC STOCK EXCHANGE
  • 19. HIRE OLD PEOPLE T I N Y L I T T L E P L U G B E C A U S E T H E Y C A N W R I T E B O O K S F I L L E D W I T H L E S S O N S L E A R N E D
  • 20. IMPACT ANALYSIS IS EASIER & FASTER USING CODECEPTION FOR ACCEPTANCE TESTING
  • 21. ACCEPTANCE TESTS REPLICATE A USER’S EXPERIENCE & ARE DRIVEN BY “EXPECTATION” LOGIC. THEY REMEMBER ALL THE PREVIOUS DECISIONS & PROMISES YOU MADE.
  • 22. Title As a [role] I want [feature] So that [benefit] Acceptance Criteria Scenario: Title Given [context] When [event] Then [outcome] hdp://dannorth.net/whats-­‐in-­‐a-­‐story/
  • 23. <?php $I = new AcceptanceTester($scenario); $I->am(‘A Subscriber’); $I->wantTo(‘edit my profile’); $I->amOnPage(‘/members/edit-profile/’); $I->canSee(‘Personal Information’); ?> $  php  codecept.phar  generate:scenarios
  • 24. I want to edit my profile I am on page ‘members/edit-profile’ I see ‘Personal Information’ ... This  is  the  expectaPon  logic  that  is  easy  to  remember  later.  And  it’s  really   helpful  when  something  breaks.  Because  we  know  exactly  what  we  were   trying  to  do  and  how  to  verify  that  something  broke.
  • 26. 1.  wget http://codeception.com/codecept.phar 2. php codecept.phar bootstrap 3. php codecept.phar generate:cept acceptance Welcome 4. Edit file tests/acceptance/WelcomeCept.php 5. Write your first acceptance test 6. Put application URL into tests/acceptance.suite.yml 7.  php codecept.phar run   GETTING STARTED IS EASY hdp://codecepPon.com/quickstart
  • 28. AUTOMATED ACCEPTANCE TESTING GITHUB  SCRUTINIZER  CODECEPTION  CAPISTRANO   PUSH REPO TESTS Registered  w/  ScruPnizer? ScruPnizer  calls   CodecepPon Do  the  tests  pass? ScruPnizer   iniPates deployment Capistrano  only  deploys  code  that’s  passed  acceptance  tests
  • 29. 80mph SPEED The  goal  isn’t  to  write  these  tests   quickly.  Or  even  to  learn  quickly  which   acceptance  tests  to  write.  The  goal  is   to  find  places  of  impact  quickly.
  • 30. ConEnuous  effort     –  not  strength  or  intelligence  –     is  the  key  to  unlocking  our   potenPal.   Sir  Winston  Churchill
  • 31. Maybe  you  saw  this  in  the  papers,  online,     or  read  about  it  recently.  It  sPll  bears  telling.   ONE LAST STORY...
  • 32. KNIGHT CAPITAL - August 2012 $440 million $10MM every minute 45 MINUTES 8 SERVERS LET ME MAKE A GUESS. YOU DON’T WANT YOUR NAME IN AN SEC FILING.  
  • 33. RESOURCES TO GET YOU STARTED hdp://codecepPon.com/quickstart hdp://codecepPon.com/docs/01-­‐IntroducPon hdp://codecepPon.com/docs/02-­‐GekngStarted hdp://codecepPon.com/docs/04-­‐AcceptanceTests hdp://dannorth.net/whats-­‐in-­‐a-­‐story/ hdps://vimeo.com/rzen/codecepPon
  • 34. CHRIS LEMA CTO & CHIEF STRATEGIST, CROWD FAVORITE @chrislema | http://chrislema.com