SlideShare a Scribd company logo
1 of 66
Download to read offline
XP
           Acceptance Testing




2011   1   28
•           @haru01

                •      :

                •   @t_wada,@kakutani
                    TDD




2011   1   28
•   XP

                •   Acceptance Testing
                                    Developer

                •


2011   1   28
2011   1   28
Great Software




                 Customers Developers
                        Testers
2011   1   28
2011   1   28
•

                •   10        XP   Customer Tests

                •   3        BDD

                •        Testing




2011   1   28
WaterFall
                            #1




            3
2011   1   28
WaterFall



                            A

                            B

                            C



2011   1   28
#1   #2   #3

                               .....




            3
2011   1   28
A

                    B   B

                C   C   C



2011   1   28
Whole Team

            Customers   Developers   Testers   Customers   Developers



                                                       Testers




2011   1   28
XP      Small Relases, User Stories,
                Customer Tests                          ,




                      Customers       Developers



                                Testers


2011   1   28
2011   1   28
•

                •10                     XP
                    Customer Test
                •                 BDD

                •   Acceptance Test




2011   1   28
Exteme Programming




2011   1   28
2011   1   28
Christopher Alexander
                Kent Beck   Ward Cunningham




2011   1   28
Christopher Alexander




2011   1   28
2011   1   28
Customer Test

                • Wiki
                • CRC
                •


2011   1   28
Customer Test
                Testers Customers Developers




                Red Green
                Acceptance or Reject



2011   1   28
2011   1   28
Customer Test




2011   1   28
Customer Tests




                  http://itpro.nikkeibp.co.jp/article/COLUMN/20080828/313626/

2011   1   28
Ward Cunningham

                        ✓XP
                        ✓CRC
                        ✓Wiki
                        ✓Fit
                                  XP, CRC, Wiki   Fit
2011   1   28
Fit
                 “Great software requires
                 collaboration and
                 communication.
                 -- http://fit.c2.com/




2011   1   28
Fit
                 “Fit is a tool
                 for enhancing collaboration
                 in software development.
                 -- http://fit.c2.com/




2011   1   28
Fit
                 “It automatically compares
                 customers' expectations to
                 actual results.
                 -- http://fit.c2.com/




2011   1   28
Fit

                •       (Cusutomers       )
                         (            )

                    •
                    •

2011   1   28
Customers, Developers,
            Testers




2011   1   28
2011   1   28
Fit
       Customers                Developers
                                               Fixture




                      Testers                Production
                                               Code


2011   1   28
Fit         Acceptance Testing



                                                Spec & Example
                                                       (Word)
                                       Unit
                             Unit
                                      Testing
                            Testing
                                      (TDD)
                            (TDD)
                                                   Fixtrue




       AceptanceTDD RSpec


2011    1   28
Conversation




                             ✓
                Acceptance




                             ✓
                                                          describe




                  Refactor   ✓
                                                    Red
                             Green

2011   1   28
Conversation




2011   1   28
Example(       )           Spec



  Customers                                  Developers




                           Testers
                    -- http://fit.c2.com/

2011   1   28
describe




2011   1   28
Human Readable & Executable Specification


                                                        Spec(      )

                                                        Example(       )


                (                     Example    Spec
                      )



                          -- http://fit.c2.com/

2011   1   28
red -> green




2011   1   28
2011   1   28
Acceptance (or Reject)




2011   1   28
2011   1   28
•   3

                •   10             XP        Customer Tests



                •       3                            BDD
                •   15(   )Acceptance Test




2011   1   28
Behavior
                Driven
                Development
2011   1   28
BDD

                •   XP    CustomerTest(Accetance TDD)
                    TDD

                •
                    •            :Given, When, Then

                •         :Cucumber, Steak, RSpec


2011   1   28
BDD


                              ATDD
                      (   )


2011   1   28
Conversation




                             ✓
                Acceptance




                             ✓
                                                          describe




                  Refactor   ✓
                                                    Red
                             Green

2011   1   28
BDD

                •Given             • Example
                               •   (

                • When
                • Then


2011   1   28
step



                https://github.com/ruby-no-kai/rubykaigi/blob/master/features/toppage.feature

2011   1   28
http://tatsu-zine.com/books/cuke



2011   1   28
2011   1   28
•
                    •   Fit, Cucumber, Steak, Selenium

                •
                    •     Bridging the Communication Gap

                    •     User Stories Applied

                •   Example Given, When, Then


2011   1   28
2011   1   28
Testing




                          Customers Developers



                                 Testers


2011   1   28
“Great software requires
                collaboration and
                communication.
                -- http://fit.c2.com/




2011   1   28
Conversation




                             ✓
                Acceptance




                             ✓
                                                          describe




                  Refactor   ✓
                                                    Red
                             Green

2011   1   28
Customer Test / BDD


                •   Example(      •   Given
                                  •   When
                                  •   Then




2011   1   28
Customer Test / BDD

                • Fit
                • Cucumber



2011   1   28
Great Software




                 Customers Developers
                        Testers
2011   1   28
Happy Testing



2011   1   28
Testing




2011   1   28
5-6

                Testing




                          Testing


                Testing

2011   1   28
(   )




2011   1   28
http://www.flickr.com/photos/cestomano/2297242391/sizes/z/in/photostream/


2011   1   28
http://www.flickr.com/photos/cestomano/2297242391/sizes/z/in/photostream/


2011   1   28

More Related Content

Similar to XP Customer Testing

Successful Teams are TDD Teams
Successful Teams are TDD TeamsSuccessful Teams are TDD Teams
Successful Teams are TDD TeamsRob Myers
 
codeBeamer: Agile ALM & Collaboration Solution
codeBeamer: Agile ALM & Collaboration Solution codeBeamer: Agile ALM & Collaboration Solution
codeBeamer: Agile ALM & Collaboration Solution Intland Software GmbH
 
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012Tieturi Oy
 
Track g semiconductor test program - testinsight
Track g  semiconductor test program - testinsightTrack g  semiconductor test program - testinsight
Track g semiconductor test program - testinsightchiportal
 
最终版Top100summit 耿晓倩-automation test framework continue improvement
最终版Top100summit 耿晓倩-automation test framework continue improvement最终版Top100summit 耿晓倩-automation test framework continue improvement
最终版Top100summit 耿晓倩-automation test framework continue improvementdrewz lin
 
Empirical Evidence Of Agile Methods
Empirical Evidence Of Agile MethodsEmpirical Evidence Of Agile Methods
Empirical Evidence Of Agile MethodsGrigori Melnik
 
Stephen K. Allott - People Challenges for Test Teams - SoftTest Ireland
Stephen K. Allott - People Challenges for Test Teams - SoftTest IrelandStephen K. Allott - People Challenges for Test Teams - SoftTest Ireland
Stephen K. Allott - People Challenges for Test Teams - SoftTest IrelandDavid O'Dowd
 
[DSBW Spring 2009] Unit 03: WebEng Process Models
[DSBW Spring 2009] Unit 03: WebEng Process Models[DSBW Spring 2009] Unit 03: WebEng Process Models
[DSBW Spring 2009] Unit 03: WebEng Process ModelsCarles Farré
 
Quality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT deliveryQuality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT deliveryRik Marselis
 
Visual Studio 2010 Testing & Lab Management Tools
Visual Studio 2010 Testing & Lab Management ToolsVisual Studio 2010 Testing & Lab Management Tools
Visual Studio 2010 Testing & Lab Management ToolsAyman El-Hattab
 
Zen and the art of safety engineering
Zen and the art of safety engineeringZen and the art of safety engineering
Zen and the art of safety engineeringEric Verhulst
 
IdealECP presentation for Novo Nordisk
IdealECP presentation for Novo NordiskIdealECP presentation for Novo Nordisk
IdealECP presentation for Novo Nordiskcbiddle2
 
Visual Studio 2010 ALM Tools Overview
Visual Studio 2010 ALM Tools Overview Visual Studio 2010 ALM Tools Overview
Visual Studio 2010 ALM Tools Overview Ayman El-Hattab
 
Exploring No Mans Land with Keyword-Driven Testing
Exploring No Mans Land with Keyword-Driven TestingExploring No Mans Land with Keyword-Driven Testing
Exploring No Mans Land with Keyword-Driven TestingMartinGijsen
 
Pinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance BottlenecksPinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance BottlenecksScott Barber
 
Continuous delivery slideshare upload 101914
Continuous delivery   slideshare upload 101914Continuous delivery   slideshare upload 101914
Continuous delivery slideshare upload 101914Vijay Reddy
 
Naveen_Reddy_Resume
Naveen_Reddy_ResumeNaveen_Reddy_Resume
Naveen_Reddy_Resumereddhun
 
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"Aberla
 

Similar to XP Customer Testing (20)

Successful Teams are TDD Teams
Successful Teams are TDD TeamsSuccessful Teams are TDD Teams
Successful Teams are TDD Teams
 
codeBeamer: Agile ALM & Collaboration Solution
codeBeamer: Agile ALM & Collaboration Solution codeBeamer: Agile ALM & Collaboration Solution
codeBeamer: Agile ALM & Collaboration Solution
 
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
 
Track g semiconductor test program - testinsight
Track g  semiconductor test program - testinsightTrack g  semiconductor test program - testinsight
Track g semiconductor test program - testinsight
 
最终版Top100summit 耿晓倩-automation test framework continue improvement
最终版Top100summit 耿晓倩-automation test framework continue improvement最终版Top100summit 耿晓倩-automation test framework continue improvement
最终版Top100summit 耿晓倩-automation test framework continue improvement
 
Empirical Evidence Of Agile Methods
Empirical Evidence Of Agile MethodsEmpirical Evidence Of Agile Methods
Empirical Evidence Of Agile Methods
 
Stephen K. Allott - People Challenges for Test Teams - SoftTest Ireland
Stephen K. Allott - People Challenges for Test Teams - SoftTest IrelandStephen K. Allott - People Challenges for Test Teams - SoftTest Ireland
Stephen K. Allott - People Challenges for Test Teams - SoftTest Ireland
 
Creation use-of-simple-model
Creation use-of-simple-modelCreation use-of-simple-model
Creation use-of-simple-model
 
[DSBW Spring 2009] Unit 03: WebEng Process Models
[DSBW Spring 2009] Unit 03: WebEng Process Models[DSBW Spring 2009] Unit 03: WebEng Process Models
[DSBW Spring 2009] Unit 03: WebEng Process Models
 
Quality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT deliveryQuality Engineering and Testing with TMAP in DevOps IT delivery
Quality Engineering and Testing with TMAP in DevOps IT delivery
 
Visual Studio 2010 Testing & Lab Management Tools
Visual Studio 2010 Testing & Lab Management ToolsVisual Studio 2010 Testing & Lab Management Tools
Visual Studio 2010 Testing & Lab Management Tools
 
Zen and the art of safety engineering
Zen and the art of safety engineeringZen and the art of safety engineering
Zen and the art of safety engineering
 
IdealECP presentation for Novo Nordisk
IdealECP presentation for Novo NordiskIdealECP presentation for Novo Nordisk
IdealECP presentation for Novo Nordisk
 
Unit 04: From Requirements to the UX Model
Unit 04: From Requirements to the UX ModelUnit 04: From Requirements to the UX Model
Unit 04: From Requirements to the UX Model
 
Visual Studio 2010 ALM Tools Overview
Visual Studio 2010 ALM Tools Overview Visual Studio 2010 ALM Tools Overview
Visual Studio 2010 ALM Tools Overview
 
Exploring No Mans Land with Keyword-Driven Testing
Exploring No Mans Land with Keyword-Driven TestingExploring No Mans Land with Keyword-Driven Testing
Exploring No Mans Land with Keyword-Driven Testing
 
Pinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance BottlenecksPinpointing and Exploiting Specific Performance Bottlenecks
Pinpointing and Exploiting Specific Performance Bottlenecks
 
Continuous delivery slideshare upload 101914
Continuous delivery   slideshare upload 101914Continuous delivery   slideshare upload 101914
Continuous delivery slideshare upload 101914
 
Naveen_Reddy_Resume
Naveen_Reddy_ResumeNaveen_Reddy_Resume
Naveen_Reddy_Resume
 
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
ESEconf2011 - Guckenheimer Sam: "Agile in the Very Large"
 

More from eiji ienaga

More from eiji ienaga (6)

TDD & Pull Request入門
TDD & Pull Request入門TDD & Pull Request入門
TDD & Pull Request入門
 
Install tdd
Install tddInstall tdd
Install tdd
 
XP再解釈
XP再解釈XP再解釈
XP再解釈
 
DDD
DDDDDD
DDD
 
20100420
2010042020100420
20100420
 
What is JSpec
What is JSpecWhat is JSpec
What is JSpec
 

XP Customer Testing