SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
Ivan Fioravanti, 4ward
Emanuele Vicari, Biesse
Testing e Scrum
nel mondo reale
Agenda
 Testing e Scrum nel mondo reale
   Testing e Scrum:
      4ward: Smartgest un caso reale
   Scrum:
      Biesse: Racconto di
      un’implementazione vincente
      di Scrum




                                        Do your systems talk business? |   3
http://b.static.ak.fbcdn.net/



       Cosa fa 4ward oggi?
                                              •Software Factory, Team Foundation Server
                                Sviluppo      •Biztalk, Sharepoint
                                              •WPF, WCF, WF, Silverlight, ASP.NET

                                                     •Virtualizzazione
                                           Sistemi   •System Center
                                                     •Unified Communication


                                                     •Team dedicato
                                           Testing   •Test Manager
                                                     •Test Automation

                                              •Corsi a calendario
                                Training      •Corsi personalizzati
                                              •Testing Center

                                                                        Do your systems talk business? |   4
http://b.static.ak.fbcdn.net/



       Prossimamente?
                                          • Nuova sede a Seattle che si
                                Seattle     aggiungerà a Milano,
                                            Bolzano e Verona



                                Cloud
                                          • Nuova area dedicata a
                                            Windows Azure e Office 365



                                 TaaS
                                          • Testing as a Service
                                            onsite o da remoto


                                                      Do your systems talk business? |   5
http://b.static.ak.fbcdn.net/



       Qualcosa su di me…
        Responsabile sviluppo e co-fondatore di 4ward
        Specializzazioni:
                 Visual Studio ALM Expert, Team Foundation Server
                 Silverlight, Software Factories
                 Biztalk, Sharepoint
        Non sul lavoro: Aspirante Runner, membro Mensa.org
        Potete trovarmi su:
                 Blog:
                          EN: http://ivanfioravanti.wordpress.com
                          IT: http://blogs.ugidotnet.org/ivanf
                 Twitter: @ivanfioravanti
                 Mail: ivan.fioravanti@4ward.it
                                                                  Do your systems talk business? |   6
Testing e Scrum




                  Do your systems talk business? |   7
Qualche bug famoso? (1/2)
 Sonda Mariner 1
    Distrutta
    Il rapporto dalla NASA ammette che la causa
     dell’errore è un singolo trattino mancante
     da una riga di codice Fortran del
     programma di guida automatica della sonda
 Collasso linee telefoniche
    75 mln chiamate perse
    Errori di commutazione nei computer di
     gestione delle chiamate della AT&T rendono
     inutilizzabile per nove ore la rete interurbana
     e interstatale statunitense della società. La
     causa del collasso fu poi attribuita a una
     singola riga di codice errata
     Fonte: http://en.wikipedia.org/wiki/List_of_software_bugs

                                                                 Do your systems talk business? |   8
Qualche bug famoso? (2/2)
 Sonda Mars Polar Lander
    Distrutta
    Segnali errati di atterraggio completato
     vengono inviati dai sensori che portano
     allo spegnimento dei motori 40 metri
     prima di toccare terra
 Sonda Mars Global Surveyor
    Distrutta
    Due indirizzi di memoria sovrascritti
     per errore da un aggiornamento software
     causano una manovra errata che porta al
     surriscaldamento e alla rottura delle
     batterie
    Fonte: http://en.wikipedia.org/wiki/List_of_software_bugs

                                                                Do your systems talk business? |   9
«Fate testing?» Commenti dal campo



             Finisce che spendo più in
                test che in sviluppo


               Test? Noi non facciamo test!
    Tanto se ci sono problemi su un rilascio, gli utenti
chiamano il supporto e torniamo alla versione precedente


                                         Do your systems talk business? |   10
Risultato dell’eliminazione dei test
  Riduzione dei costi di
      produzione

                           Riduzione della qualità

    Aumento dei difetti




                           Aumento dei costi di
                             mantenimento

                                        Do your systems talk business? |   11
RISULTATO FINALE?
             Risultato dell’eliminazione dei test
                         Riduzione dei costi di
                             produzione

                                                                  Riduzione della qualità

                         RISULTATO FINALE?
                          Aumento dei difetti




                                                                  Aumento dei costi di
                                                                    mantenimento

Photo by Alex E. Proimos (http://www.flickr.com/photos/proimos)
                                                                               Do your systems talk business? |   12
Come risolvere il problema?




                                                    4.
                                  3.                Tracciabilità
                                                    automatica
                                  Gestione          requisiti/user
               2.                 semplificata      story e test
                                  degli ambienti
               Automazione        di test
               dell’esecuzione
1.             e della verifica
               dei test
Integrazione
Testing
nell’ALM

                                                   Do your systems talk business? |   13
Come risolvere il problema?




                                                    4.
                                  3.                Tracciabilità
                                                    automatica
                                  Gestione          requisiti/user
               2.                 semplificata      story e test
                                  degli ambienti
               Automazione        di test
               dell’esecuzione
1.             e della verifica
               dei test
Integrazione
Testing
nell’ALM

                                                   Do your systems talk business? |   14
Testing e Scrum




                  Do your systems talk business? |   15
http://b.static.ak.fbcdn.net/



       Cos’è Scrum?
                    E’ una metodologia iterativa ed incrementale per la
                                  gestione dei progetti




                                                          Do your systems talk business? |   16
Sviluppo e test integrati con Scrum
                                       implementazione
                                        implementazione us2
D                                            us2
      sprint
E      plan    implementazione                                                    fix bug
V                user story ‘1’
                     (us1)                         fix bug




    build 1    build 2       build 3          build 4        build 5       build 6          build 7




                                         test us1 &
               definizione test                                                               test di
                                       segnalazione              verifica fix
T                  per us1                                                                  regressione
                                            bug
E     sprint
       plan
S
                           definizione test                    test us2 &
T
                               per us2                       segnalazione             verifica fix
                                                                  bug


                                                                                Do your systems talk business? |   17
Con che strumento?
                                       implementazione
                                        implementazione us2
D                                            us2
      sprint
E      plan    implementazione                                      fix bugs
                                                    Test Manager consente
V                user story ‘1’
                     (us1)                         fix bugs
                                                    di creare piani di test
                                                    legati ai requisiti

    build 1    build 2       build 3          build 4   build 5    build 6       build 7
                                                             Test Manager mostra ai
                                                             tester le modifiche
                                         test us1 &
                                                             apportate per ogni build
               definizione test                                                       test di
                                       segnalazione         verifica fixes
                                                             come:
T                  per us1                                                        regressione
                                            bug
E     sprint                                                 - Task
       plan
S
                           definizione test
                                                             - Requisiti
                                                           test us2 &
T
                               per us2                   segnalazione      verifica fixes
                                                             -bugs
                                                                 Bug

                                                                       Do your systems talk business? |   18
Con che strumento?
                                      implementazione
                                       implementazione us2
D     Test Manager aiuta                    us2
     sprint
E     nella
      plan verifica della
              implementazione
                                                                              … ifix bugs possono
                                                                                   testers
V     correzione dei bug
                user story ‘1’                                                verificare facilmente le
                                                     fix bug
                     (us1)                                                    fix tramite la
                                                                              riproduzione automatica
                                                                              delle azioni registrate
    I tester creano bug                                                       durante i test
    build 1 completi e build 3
    report build 2                              build 4        build 5       build 6         build 7
    facilmente riproducibili


                                         test us1 &
               definizione test                                                                test di
                                       segnalazione                verifica fix
T                  per us1                                                                   regressione
                                            bug
E    sprint
      plan
S
                             definizione test                    test us2 &
T
                                 per us2                       segnalazione            verifica fix
                                                                    bug



                                                                                  Do your systems talk business? |   19
Testing e Scrum




                  Do your systems talk business? |   20
Automazione dei test
                 iterazione 1            iterazione 2                         release
              feature a   feature b   feature c   feature d


   unit
  testing




  manual
  testing




regression
  testing




performance
   testing




                                                              Do your systems talk business? |   21
Automazione dei test
 Attivando l’Action Recording è possibile registrare e
  riprodurre automaticamente gli step di un test case.
  Le azioni ripetitive e noiose le lasciamo fare alle macchine!
 I Data Diagnostic tracciano le azioni sulla UI e tutte quelle
  informazioni utili allo sviluppatore per risolvere
  correttamente il bug.




                                             Do your systems talk business? |   22
Testing lifecycle
 I test registrati vengono eseguiti automaticamente
  ad ogni build




            Build             Test

  Obiettivo: abbattere i costi e ridurre i bug
                                     Do your systems talk business? |   23
Testing e Scrum




                  Do your systems talk business? |   24
Lab Management
 Creazione semplificata di ambienti di test
   In Lab Center possiamo generare con pochi click degli ambienti di
    test: non solo una macchina, ma un vero sistema multi server!



                                            Virtualizzazione
                                              per tutti
                                                Semplicità e
                                                 integrazione in Visual
                                                 Studio ALM
                                                Hyper-V based




                                                 Do your systems talk business? |   25
Automatizzazione del workflow
Build-Deploy-Test
                          1. Compilazione dei sorgenti
         Build
                          2. Ripristino ambiente virtuale
                             allo stato iniziale
                          3. Installazione della build
                          4. Esecuzione test automatici
  Test           Deploy   5. Con un clic è possibile
                             collegarsi all’ambiente


L’effort iniziale è ampiamente ammortizzato nel
               medio-lungo termine
                                        Do your systems talk business? |   26
Testing e Scrum




                  Do your systems talk business? |   27
Report nativi in TFS
                           Altri report in
                          questa categoria




                        Avanzamento del lavoro sulle
  Cosa mostra questo      user stories mostrato nel
       report?         contesto insieme ai risultati dei
                                test e ai bug

                                 Do your systems talk business? |   28
Dashboard Quality nativa in TFS
                  Qual è l’avanzamento      Siamo pronti
                     sui test plan?        a consegnare?



                                               Come stanno
                                                andando le
Stiamo risolvendo i
                                                  build?
      bug?

                                          Qual è la qualità
                                           delle fix fatte?




                                         Do your systems talk business? |   29
Risultato?
Il test è servito




                    Do your systems talk business? |   30
Biesse s.p.a.
•   Realtà multinazionale che produce macchine e
    sistemi per la lavorazione di legno, vetro e
    pietra.
•   Filiali produttive in Italia e a Bangalore
•   2.300 dipendenti nel mondo




                                                   Do your systems talk business? |   31
Perché TFS?

• Scrum già applicato da qualche team ma in
  modo disomogeneo
• Tutto il software prodotto da Biesse è sviluppato
  già da anni con Visual Studio
• MSF Agile 5.0: è «quasi» Scrum, fa già il 90% di
  quello che ci serve
• Compreso nelle licenze MSDN già acquistate
  dal gruppo



                                     Do your systems talk business? |   32
Il progetto di adozione
•    Requisiti prioritari:
     • tracciare il carico di lavoro dei
       team
     • incentivare la pianificazione
       agile: «+ excel, - project»
•    Fasi e tempi:
     • Marzo-Aprile 2010: Team di 4 persone con progetto pilota
       (su TFS 2010 RC)
     • Maggio-Settembre 2010: Estensione graduale agli altri
       progetti compatibilmente con i tempi di produzione di una
       fabbrica
     • Gennaio 2011: 85 sviluppatori suddivisi su 18 team project


                                              Do your systems talk business? |   33
Product Planning
• Fornisce una stima delle risorse necessarie per iterazione
• Per la pianificazione sono state utilizzate «ore uomo
  indicative» in modo da dare una linea guida comune a tutti i
  team




                                            Do your systems talk business? |   34
Ma il GANTT non era meglio?
• Il product planning non permette di vedere a colpo d’occhio lista di attività
 e relative date di chiusura
• Serve un report di alto livello per il management, soprattutto per le
 consuntivazioni
• Generato automaticamente tramite una macro di Excel




                               Iteration 1   Iteration 2   Iteration 3   Iteration 4   Iteration 5   Iteration 6   …




                                                                                                          Do your systems talk business? |   35
Integrazione con Oracle EBS
•   Necessità di integrare lo strumento di project management (TFS)
    e lo strumento di project/product costing (Oracle Project)
•   Come fare per conciliare le esigenze amministrative (lista di
    attività standard) con quelle progettuali (totale libertà nei titoli delle
    attività)?


                                     SQL                    Oracle
             TFS                   DataBase                 Project



           Team                Mapping
                                                     Commessa
          Project               Tables
                              Completed Work


                                                         Do your systems talk business? |   36
Integrazione con Oracle EBS
           • I titoli con prefisso WBS vengono marcati read-only e
             garantiscono l’integrità del mapping
           • Viene lasciata completa libertà su tutti gli altri livelli
             dell’albero dei work item
Team Project: Project 1

Work
           Assigned                                         Completed
Item                       Title 1    Title 2    Title 3
              To                                              Work                Commessa: Project 1
Type

 User                     Barra dei                                                     Risorsa          Giorno         Task           ore
 Story                     Menù

 User
             Mario                    WBS                                              Mario Rossi      12/12/2010    Menù File        1
             Rossi                    Menù
 Story
                                       File                                          Giuseppe Verdi     15/12/2010   Menù Zoom         2


                                                                        Mapping
                                                Sviluppo
 Task
             Mario
                                                bottone        6
                                                                                       Mario Rossi      15/12/2010    Menù File        2
             Rossi
                                                  salva
                                                                                      Paolo Bianchi     16/12/2010    Menù File        2
                                                Sviluppo
             Paolo
 Task                                           bottone        4
            Bianchi
                                                  apri
                                                                                       Mario Rossi      20/12/2010    Menù File        3

 User      Giuseppe
                                      WBS                                            Giuseppe Verdi     21/12/2010   Menù Zoom         3
                                      Menù
 Story       Verdi
                                      Zoom                                            Paolo Bianchi     21/12/2010    Menù File        2
                                                Sviluppo
           Giuseppe
 Task
             Verdi
                                                bottone        5                      Paolo Bianchi     21/12/2010   Menù Zoom         3
                                                zoom in

                                                 Sviluppo
             Paolo
 Task
            Bianchi
                                                 bottone       3
                                                zoom out




                                                                                                        Do your systems talk business? |     37
Risultati
Rispetto delle pianificazioni senza scendere a compromessi
sulla qualità dei prodotti




                                          Do your systems talk business? |   38
Do your systems talk business? |   39
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
  The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
                                                                          conditions, it should not be interpreted to be a commitment
on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
                                                                               AS TO THE INFORMATION IN THIS PRESENTATION

Weitere ähnliche Inhalte

Was ist angesagt?

Per essere alla avanguardia bisogna migliorare
Per essere alla avanguardia bisogna migliorarePer essere alla avanguardia bisogna migliorare
Per essere alla avanguardia bisogna migliorareBCC-Consulting FM
 
Come rilasciare App di Qualità
Come rilasciare App di QualitàCome rilasciare App di Qualità
Come rilasciare App di QualitàLuca Manara
 
Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...
Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...
Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...K-Tech Formazione
 
Agile APM an heretic's approach to SPE
Agile APM an heretic's approach to SPEAgile APM an heretic's approach to SPE
Agile APM an heretic's approach to SPEK-Tech Formazione
 
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del Software
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del SoftwareUn Approccio Sistematico Ed Organizzato Allo Sviluppo Del Software
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del SoftwareAlessandro Martellone
 

Was ist angesagt? (12)

Per essere alla avanguardia bisogna migliorare
Per essere alla avanguardia bisogna migliorarePer essere alla avanguardia bisogna migliorare
Per essere alla avanguardia bisogna migliorare
 
Tesi Magistrale
Tesi MagistraleTesi Magistrale
Tesi Magistrale
 
Come rilasciare App di Qualità
Come rilasciare App di QualitàCome rilasciare App di Qualità
Come rilasciare App di Qualità
 
Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...
Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...
Segnali dal futuro. Prevedere le prestazioni dei sistemi web ed evitare gli a...
 
Success Story Alcea
Success Story  AlceaSuccess Story  Alcea
Success Story Alcea
 
Agile APM an heretic's approach to SPE
Agile APM an heretic's approach to SPEAgile APM an heretic's approach to SPE
Agile APM an heretic's approach to SPE
 
La salute del software
La salute del softwareLa salute del software
La salute del software
 
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del Software
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del SoftwareUn Approccio Sistematico Ed Organizzato Allo Sviluppo Del Software
Un Approccio Sistematico Ed Organizzato Allo Sviluppo Del Software
 
Visaggio fd l13_9_18
Visaggio fd l13_9_18Visaggio fd l13_9_18
Visaggio fd l13_9_18
 
Lean Six Sigma In Supply Chains 9 Aprile 2011
Lean Six Sigma In Supply Chains   9 Aprile 2011Lean Six Sigma In Supply Chains   9 Aprile 2011
Lean Six Sigma In Supply Chains 9 Aprile 2011
 
Requirements Based Testing - webinar 27 giugno 2012
Requirements Based Testing - webinar 27 giugno 2012Requirements Based Testing - webinar 27 giugno 2012
Requirements Based Testing - webinar 27 giugno 2012
 
Software Testing e TDD
Software Testing e TDDSoftware Testing e TDD
Software Testing e TDD
 

Ähnlich wie Test e scrum un caso reale v3.2

Il dilemma del test: Manuale o Automatico?
Il dilemma del test: Manuale o Automatico?Il dilemma del test: Manuale o Automatico?
Il dilemma del test: Manuale o Automatico?Microfocusitalia
 
dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...
dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...
dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...Microfocusitalia
 
Benchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAM
Benchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAMBenchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAM
Benchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAMNicola Paoletti
 
Automated UI testing for iOs and Android mobile apps
Automated UI testing for iOs and Android mobile appsAutomated UI testing for iOs and Android mobile apps
Automated UI testing for iOs and Android mobile appsMassimo Bonanni
 
03 vmugit aprile_2018_veeam
03 vmugit aprile_2018_veeam03 vmugit aprile_2018_veeam
03 vmugit aprile_2018_veeamVMUG IT
 
Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...
Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...
Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...Pipeline Srl
 
Ms windows vista - deploying and managing the microsoft desktop optimization ...
Ms windows vista - deploying and managing the microsoft desktop optimization ...Ms windows vista - deploying and managing the microsoft desktop optimization ...
Ms windows vista - deploying and managing the microsoft desktop optimization ...LEN Learning Education Network
 
Alm pills - Sessione community tour Dot Net Umbria 2011
Alm pills - Sessione community tour Dot Net Umbria 2011Alm pills - Sessione community tour Dot Net Umbria 2011
Alm pills - Sessione community tour Dot Net Umbria 2011Gian Maria Ricci
 
iVision Software 2.3
iVision Software 2.3iVision Software 2.3
iVision Software 2.3ivisionweb
 
Presentazione Web Site
Presentazione Web SitePresentazione Web Site
Presentazione Web SiteWeb Site srl
 
Corporate profile at work
Corporate profile at workCorporate profile at work
Corporate profile at workbmariotti
 
Lucierna - Application Performance Manager - APM
Lucierna - Application Performance Manager - APMLucierna - Application Performance Manager - APM
Lucierna - Application Performance Manager - APMAlessandro Salvatico
 
Milano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce IntegrationMilano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce IntegrationGonzalo Marcos Ansoain
 
MuleSoft_Meetup__Official__8_.pdf
MuleSoft_Meetup__Official__8_.pdfMuleSoft_Meetup__Official__8_.pdf
MuleSoft_Meetup__Official__8_.pdfFlorence Consulting
 
Le 7 sfide da affrontare nella migrazione da monolite a miniservizi
Le 7 sfide da affrontare nella migrazione da monolite a miniserviziLe 7 sfide da affrontare nella migrazione da monolite a miniservizi
Le 7 sfide da affrontare nella migrazione da monolite a miniserviziLuca Acquaviva
 

Ähnlich wie Test e scrum un caso reale v3.2 (20)

Xamarin Test Cloud
Xamarin Test CloudXamarin Test Cloud
Xamarin Test Cloud
 
Il dilemma del test: Manuale o Automatico?
Il dilemma del test: Manuale o Automatico?Il dilemma del test: Manuale o Automatico?
Il dilemma del test: Manuale o Automatico?
 
dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...
dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...
dal test manuale al test automatico: un esempio basato sul Keyword Driven Tes...
 
Benchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAM
Benchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAMBenchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAM
Benchmarking - Architettura degli Elaboratori - AA 2010/2011 - UNICAM
 
Automated UI testing for iOs and Android mobile apps
Automated UI testing for iOs and Android mobile appsAutomated UI testing for iOs and Android mobile apps
Automated UI testing for iOs and Android mobile apps
 
03 vmugit aprile_2018_veeam
03 vmugit aprile_2018_veeam03 vmugit aprile_2018_veeam
03 vmugit aprile_2018_veeam
 
Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...
Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...
Software Virtualization & Streaming: eliminare intere fasi dell’ IMAC (Instal...
 
Ms windows vista - deploying and managing the microsoft desktop optimization ...
Ms windows vista - deploying and managing the microsoft desktop optimization ...Ms windows vista - deploying and managing the microsoft desktop optimization ...
Ms windows vista - deploying and managing the microsoft desktop optimization ...
 
Alm pills - Sessione community tour Dot Net Umbria 2011
Alm pills - Sessione community tour Dot Net Umbria 2011Alm pills - Sessione community tour Dot Net Umbria 2011
Alm pills - Sessione community tour Dot Net Umbria 2011
 
iVision Software 2.3
iVision Software 2.3iVision Software 2.3
iVision Software 2.3
 
Software Testing Forum 2012 - Polarion e TRS SpA
Software Testing Forum 2012 - Polarion e TRS SpASoftware Testing Forum 2012 - Polarion e TRS SpA
Software Testing Forum 2012 - Polarion e TRS SpA
 
Presentazione Web Site
Presentazione Web SitePresentazione Web Site
Presentazione Web Site
 
Corporate profile at work
Corporate profile at workCorporate profile at work
Corporate profile at work
 
Lucierna - Application Performance Manager - APM
Lucierna - Application Performance Manager - APMLucierna - Application Performance Manager - APM
Lucierna - Application Performance Manager - APM
 
Ug apm - introscope-isp-user group
Ug  apm - introscope-isp-user groupUg  apm - introscope-isp-user group
Ug apm - introscope-isp-user group
 
Unit test
Unit testUnit test
Unit test
 
Milano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce IntegrationMilano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce Integration
 
MuleSoft_Meetup__Official__8_.pdf
MuleSoft_Meetup__Official__8_.pdfMuleSoft_Meetup__Official__8_.pdf
MuleSoft_Meetup__Official__8_.pdf
 
Webinar: "DevOps e Orchestrazione Bimodale dei Processi IT"
Webinar: "DevOps e Orchestrazione Bimodale dei Processi IT"Webinar: "DevOps e Orchestrazione Bimodale dei Processi IT"
Webinar: "DevOps e Orchestrazione Bimodale dei Processi IT"
 
Le 7 sfide da affrontare nella migrazione da monolite a miniservizi
Le 7 sfide da affrontare nella migrazione da monolite a miniserviziLe 7 sfide da affrontare nella migrazione da monolite a miniservizi
Le 7 sfide da affrontare nella migrazione da monolite a miniservizi
 

Test e scrum un caso reale v3.2

  • 1.
  • 2. Ivan Fioravanti, 4ward Emanuele Vicari, Biesse Testing e Scrum nel mondo reale
  • 3. Agenda  Testing e Scrum nel mondo reale  Testing e Scrum:  4ward: Smartgest un caso reale  Scrum:  Biesse: Racconto di un’implementazione vincente di Scrum Do your systems talk business? | 3
  • 4. http://b.static.ak.fbcdn.net/ Cosa fa 4ward oggi? •Software Factory, Team Foundation Server Sviluppo •Biztalk, Sharepoint •WPF, WCF, WF, Silverlight, ASP.NET •Virtualizzazione Sistemi •System Center •Unified Communication •Team dedicato Testing •Test Manager •Test Automation •Corsi a calendario Training •Corsi personalizzati •Testing Center Do your systems talk business? | 4
  • 5. http://b.static.ak.fbcdn.net/ Prossimamente? • Nuova sede a Seattle che si Seattle aggiungerà a Milano, Bolzano e Verona Cloud • Nuova area dedicata a Windows Azure e Office 365 TaaS • Testing as a Service onsite o da remoto Do your systems talk business? | 5
  • 6. http://b.static.ak.fbcdn.net/ Qualcosa su di me…  Responsabile sviluppo e co-fondatore di 4ward  Specializzazioni:  Visual Studio ALM Expert, Team Foundation Server  Silverlight, Software Factories  Biztalk, Sharepoint  Non sul lavoro: Aspirante Runner, membro Mensa.org  Potete trovarmi su:  Blog:  EN: http://ivanfioravanti.wordpress.com  IT: http://blogs.ugidotnet.org/ivanf  Twitter: @ivanfioravanti  Mail: ivan.fioravanti@4ward.it Do your systems talk business? | 6
  • 7. Testing e Scrum Do your systems talk business? | 7
  • 8. Qualche bug famoso? (1/2)  Sonda Mariner 1  Distrutta  Il rapporto dalla NASA ammette che la causa dell’errore è un singolo trattino mancante da una riga di codice Fortran del programma di guida automatica della sonda  Collasso linee telefoniche  75 mln chiamate perse  Errori di commutazione nei computer di gestione delle chiamate della AT&T rendono inutilizzabile per nove ore la rete interurbana e interstatale statunitense della società. La causa del collasso fu poi attribuita a una singola riga di codice errata Fonte: http://en.wikipedia.org/wiki/List_of_software_bugs Do your systems talk business? | 8
  • 9. Qualche bug famoso? (2/2)  Sonda Mars Polar Lander  Distrutta  Segnali errati di atterraggio completato vengono inviati dai sensori che portano allo spegnimento dei motori 40 metri prima di toccare terra  Sonda Mars Global Surveyor  Distrutta  Due indirizzi di memoria sovrascritti per errore da un aggiornamento software causano una manovra errata che porta al surriscaldamento e alla rottura delle batterie Fonte: http://en.wikipedia.org/wiki/List_of_software_bugs Do your systems talk business? | 9
  • 10. «Fate testing?» Commenti dal campo Finisce che spendo più in test che in sviluppo Test? Noi non facciamo test! Tanto se ci sono problemi su un rilascio, gli utenti chiamano il supporto e torniamo alla versione precedente Do your systems talk business? | 10
  • 11. Risultato dell’eliminazione dei test Riduzione dei costi di produzione Riduzione della qualità Aumento dei difetti Aumento dei costi di mantenimento Do your systems talk business? | 11
  • 12. RISULTATO FINALE? Risultato dell’eliminazione dei test Riduzione dei costi di produzione Riduzione della qualità RISULTATO FINALE? Aumento dei difetti Aumento dei costi di mantenimento Photo by Alex E. Proimos (http://www.flickr.com/photos/proimos) Do your systems talk business? | 12
  • 13. Come risolvere il problema? 4. 3. Tracciabilità automatica Gestione requisiti/user 2. semplificata story e test degli ambienti Automazione di test dell’esecuzione 1. e della verifica dei test Integrazione Testing nell’ALM Do your systems talk business? | 13
  • 14. Come risolvere il problema? 4. 3. Tracciabilità automatica Gestione requisiti/user 2. semplificata story e test degli ambienti Automazione di test dell’esecuzione 1. e della verifica dei test Integrazione Testing nell’ALM Do your systems talk business? | 14
  • 15. Testing e Scrum Do your systems talk business? | 15
  • 16. http://b.static.ak.fbcdn.net/ Cos’è Scrum? E’ una metodologia iterativa ed incrementale per la gestione dei progetti Do your systems talk business? | 16
  • 17. Sviluppo e test integrati con Scrum implementazione implementazione us2 D us2 sprint E plan implementazione fix bug V user story ‘1’ (us1) fix bug build 1 build 2 build 3 build 4 build 5 build 6 build 7 test us1 & definizione test test di segnalazione verifica fix T per us1 regressione bug E sprint plan S definizione test test us2 & T per us2 segnalazione verifica fix bug Do your systems talk business? | 17
  • 18. Con che strumento? implementazione implementazione us2 D us2 sprint E plan implementazione fix bugs Test Manager consente V user story ‘1’ (us1) fix bugs di creare piani di test legati ai requisiti build 1 build 2 build 3 build 4 build 5 build 6 build 7 Test Manager mostra ai tester le modifiche test us1 & apportate per ogni build definizione test test di segnalazione verifica fixes come: T per us1 regressione bug E sprint - Task plan S definizione test - Requisiti test us2 & T per us2 segnalazione verifica fixes -bugs Bug Do your systems talk business? | 18
  • 19. Con che strumento? implementazione implementazione us2 D Test Manager aiuta us2 sprint E nella plan verifica della implementazione … ifix bugs possono testers V correzione dei bug user story ‘1’ verificare facilmente le fix bug (us1) fix tramite la riproduzione automatica delle azioni registrate I tester creano bug durante i test build 1 completi e build 3 report build 2 build 4 build 5 build 6 build 7 facilmente riproducibili test us1 & definizione test test di segnalazione verifica fix T per us1 regressione bug E sprint plan S definizione test test us2 & T per us2 segnalazione verifica fix bug Do your systems talk business? | 19
  • 20. Testing e Scrum Do your systems talk business? | 20
  • 21. Automazione dei test iterazione 1 iterazione 2 release feature a feature b feature c feature d unit testing manual testing regression testing performance testing Do your systems talk business? | 21
  • 22. Automazione dei test  Attivando l’Action Recording è possibile registrare e riprodurre automaticamente gli step di un test case. Le azioni ripetitive e noiose le lasciamo fare alle macchine!  I Data Diagnostic tracciano le azioni sulla UI e tutte quelle informazioni utili allo sviluppatore per risolvere correttamente il bug. Do your systems talk business? | 22
  • 23. Testing lifecycle  I test registrati vengono eseguiti automaticamente ad ogni build Build Test Obiettivo: abbattere i costi e ridurre i bug Do your systems talk business? | 23
  • 24. Testing e Scrum Do your systems talk business? | 24
  • 25. Lab Management  Creazione semplificata di ambienti di test  In Lab Center possiamo generare con pochi click degli ambienti di test: non solo una macchina, ma un vero sistema multi server!  Virtualizzazione per tutti  Semplicità e integrazione in Visual Studio ALM  Hyper-V based Do your systems talk business? | 25
  • 26. Automatizzazione del workflow Build-Deploy-Test 1. Compilazione dei sorgenti Build 2. Ripristino ambiente virtuale allo stato iniziale 3. Installazione della build 4. Esecuzione test automatici Test Deploy 5. Con un clic è possibile collegarsi all’ambiente L’effort iniziale è ampiamente ammortizzato nel medio-lungo termine Do your systems talk business? | 26
  • 27. Testing e Scrum Do your systems talk business? | 27
  • 28. Report nativi in TFS Altri report in questa categoria Avanzamento del lavoro sulle Cosa mostra questo user stories mostrato nel report? contesto insieme ai risultati dei test e ai bug Do your systems talk business? | 28
  • 29. Dashboard Quality nativa in TFS Qual è l’avanzamento Siamo pronti sui test plan? a consegnare? Come stanno andando le Stiamo risolvendo i build? bug? Qual è la qualità delle fix fatte? Do your systems talk business? | 29
  • 30. Risultato? Il test è servito Do your systems talk business? | 30
  • 31. Biesse s.p.a. • Realtà multinazionale che produce macchine e sistemi per la lavorazione di legno, vetro e pietra. • Filiali produttive in Italia e a Bangalore • 2.300 dipendenti nel mondo Do your systems talk business? | 31
  • 32. Perché TFS? • Scrum già applicato da qualche team ma in modo disomogeneo • Tutto il software prodotto da Biesse è sviluppato già da anni con Visual Studio • MSF Agile 5.0: è «quasi» Scrum, fa già il 90% di quello che ci serve • Compreso nelle licenze MSDN già acquistate dal gruppo Do your systems talk business? | 32
  • 33. Il progetto di adozione • Requisiti prioritari: • tracciare il carico di lavoro dei team • incentivare la pianificazione agile: «+ excel, - project» • Fasi e tempi: • Marzo-Aprile 2010: Team di 4 persone con progetto pilota (su TFS 2010 RC) • Maggio-Settembre 2010: Estensione graduale agli altri progetti compatibilmente con i tempi di produzione di una fabbrica • Gennaio 2011: 85 sviluppatori suddivisi su 18 team project Do your systems talk business? | 33
  • 34. Product Planning • Fornisce una stima delle risorse necessarie per iterazione • Per la pianificazione sono state utilizzate «ore uomo indicative» in modo da dare una linea guida comune a tutti i team Do your systems talk business? | 34
  • 35. Ma il GANTT non era meglio? • Il product planning non permette di vedere a colpo d’occhio lista di attività e relative date di chiusura • Serve un report di alto livello per il management, soprattutto per le consuntivazioni • Generato automaticamente tramite una macro di Excel Iteration 1 Iteration 2 Iteration 3 Iteration 4 Iteration 5 Iteration 6 … Do your systems talk business? | 35
  • 36. Integrazione con Oracle EBS • Necessità di integrare lo strumento di project management (TFS) e lo strumento di project/product costing (Oracle Project) • Come fare per conciliare le esigenze amministrative (lista di attività standard) con quelle progettuali (totale libertà nei titoli delle attività)? SQL Oracle TFS DataBase Project Team Mapping Commessa Project Tables Completed Work Do your systems talk business? | 36
  • 37. Integrazione con Oracle EBS • I titoli con prefisso WBS vengono marcati read-only e garantiscono l’integrità del mapping • Viene lasciata completa libertà su tutti gli altri livelli dell’albero dei work item Team Project: Project 1 Work Assigned Completed Item Title 1 Title 2 Title 3 To Work Commessa: Project 1 Type User Barra dei Risorsa Giorno Task ore Story Menù User Mario WBS Mario Rossi 12/12/2010 Menù File 1 Rossi Menù Story File Giuseppe Verdi 15/12/2010 Menù Zoom 2 Mapping Sviluppo Task Mario bottone 6 Mario Rossi 15/12/2010 Menù File 2 Rossi salva Paolo Bianchi 16/12/2010 Menù File 2 Sviluppo Paolo Task bottone 4 Bianchi apri Mario Rossi 20/12/2010 Menù File 3 User Giuseppe WBS Giuseppe Verdi 21/12/2010 Menù Zoom 3 Menù Story Verdi Zoom Paolo Bianchi 21/12/2010 Menù File 2 Sviluppo Giuseppe Task Verdi bottone 5 Paolo Bianchi 21/12/2010 Menù Zoom 3 zoom in Sviluppo Paolo Task Bianchi bottone 3 zoom out Do your systems talk business? | 37
  • 38. Risultati Rispetto delle pianificazioni senza scendere a compromessi sulla qualità dei prodotti Do your systems talk business? | 38
  • 39. Do your systems talk business? | 39
  • 40. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION