SlideShare a Scribd company logo
1 of 29
assert( Gumbo )


Xavi Beumala
xbeumala@adobe.com
http://www.rialvalue.com                                          ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que creen
 que una linea de código
no puede dar problemas




                                                                       ®




                                                                   2
 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que quieren
                                                                  plegar a las 6




                                                                                         ®




                                                                   3
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que no
                                 quieren trabajar
                                 el fin de semana




                                                                      ®




                                                                  4
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que quieren
                                                                  tener una vida mejor




                                                                                         ®




                                                                   5
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que quieren
                        tener satisfechos
                             a los clientes




                                                                      ®




                                                                  6
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que siempre dicen
                                                                  “Pues en mi entorno
                                                                  funciona!!”




                                                                                               ®




                                                                   7
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que creen que los
                  clientes
          le quieren joder




                                                                      ®




                                                                  8
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que se creen lo de:
                                                                  “Luego escribo el test”




                                                                                                 ®




                                                                    9
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Para los que creen que
                     su arquitectura
                          es la mejor




                                                                       ®




                                                                  10
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Buenos tests
                                                                     sinónimo de
                                         Buena arquitectura



                                                                                   ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Código testeable
                           sinónimo de
                           Buena arquitectura



                                                                  ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Errores de software
                                                                       sinónimo de
                                                                  caro, muy Caro



                                                                                     ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
En EEUU caro es
                  sinónimo de
                  0.6% PIB =                                      $79.8 billion


[1] The Economic Impacts of Inadequate Infrastructure for Software Testing - http://www.nist.gov/director/prog-ofc/report02-3.pdf
                                                                                                                                    ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Si no lo pago yo
                                                                      me da igual!



                                                                                     ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Seguro que a
                              tu jefe no le da igual!



                                                                  ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
aunque la historia cambia
                                                                  Cuando a uno le
                                                                         dicen...



                                                                                               ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
que...
                         El 30% del coste lo
                      asume desarrollador!!



                                                                           ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
A que ya no os
                                                                     da igual !?!



                                                                                    ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
y más números...


   El coste de solventar los errores es exponencialmente proporcional a la fase
    en la que se detectan[2]
          Un error detectado después de una release puede significar un coste de
           entre 10 y 100 veces mayor que si ese mismo problema se hubiera
           detectado durante la fase de requerimientos
          Un error en la arquitectura después de una release es del orden 25-100
           veces mas caro que en fases anteriores




[2] McConnell, Steve (2004). Code Complete, 2nd edition, Microsoft Press, 960. ISBN 0-7356-1967-0.
                                                                                                     ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Algunos numeros...



   Los errores en el mundo del software son el mayor de los costes
          El mismo estudio del NIST desveló que, en media, el 80% del coste de
           desarrollo se dedica a identificar y corregir errores
          Lo cual quiere decir nos gastamos 80 billones cerrando bugs!




[2] McConnell, Steve (2004). Code Complete, 2nd edition, Microsoft Press, 960. ISBN 0-7356-1967-0.
                                                                                                     ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Pero que es el Testeo


   Es una religión? Es una filosofía? Es una moda?
   Según Stephen Cobbey la clave del éxito está en la unión equitativa de:
          Visión: mente, talento, creatividad, tener un sueño, visualización
          Pasión: optimismo, entusiasmo, determinación
          Disciplina: make it happen, sacrificio, metodología, fuerza de voluntad



                                                           El testeo es Disciplina


[2] McConnell, Steve (2004). Code Complete, 2nd edition, Microsoft Press, 960. ISBN 0-7356-1967-0.
                                                                                                     ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Ahora sí... Tipos de testeo
          Unit testing. Orientado a la unidad y a código aislado. Fomenta
           tremendamente la modularidad.
          Integration testing. Ejercita distintas unidades de código colaborando
           conjuntamente.
          Functional testing. Black-box user testing.
          Manual (Lo barato sale caro!)
          Performance
          Stress
          DB
          ...




                                                                                    ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Automation
          Detect soon, fix soon
          Cuanto más tardamos en detectar un error más código tenemos que
           cambiar
          Cuanto más tardamos en detectar un error menos idea tenemos de dónde
           viene.
          Puede llevar bastante rato ejecutar todos los tests
          Lo manual si puede fallar, fallará. (Murphy)
          Da mucha seguridad. Un cambio pequeño en el código puede significar
           un gran cambio en el código.
          La automatización de los tests tiene que ser parte del proceso de build




                                                                                     ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.
El testeo no es la panacea...



                                       Aún existirán errores
                 aunque probablemente serán
             secundarios y
más difíciles de encontrar




                                                                   ®




 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Flex Builder
                                testing
                          Walkthrough



                                                                       ®




                                                                  26
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
FlexUnit 4
                          Walkthrough




                                                                       ®




                                                                  27
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Links




                                                                           ®




                                                                      28
Copyright 2008 Adobe Systems Incorporated. All rights reserved.
Links
          http://opensource.adobe.com/wiki/display/flexunit/FlexUnit+4+feature
           +overview
          http://flexorg.wip3.adobe.com/flexunit/beta1/
           FlexUnit4TurnkeyBeta_1.0.zip
          http://blogs.digitalprimates.net/codeSlinger/index.cfm/2009/5/3/
           FlexUnit-4-in-360-seconds
          http://shareandenjoy.saff.net/tdd-specifications.pdf
          http://tv.adobe.com/#vi+f15384v1033 (Agile Testing MAX session)




                                                                                 ®




Copyright 2008 Adobe Systems Incorporated. All rights reserved.

More Related Content

Recently uploaded

International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)GDGSucre
 
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...silviayucra2
 
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE  DE TECNOLOGIA E INFORMATICA PRIMARIACLASE  DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIAWilbisVega
 
KELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento ProtégelesKELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento ProtégelesFundación YOD YOD
 
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíaTrabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíassuserf18419
 
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricGlobal Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricKeyla Dolores Méndez
 
Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024GiovanniJavierHidalg
 
trabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdftrabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdfIsabellaMontaomurill
 
Hernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptxHernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptxJOSEMANUELHERNANDEZH11
 
La era de la educación digital y sus desafios
La era de la educación digital y sus desafiosLa era de la educación digital y sus desafios
La era de la educación digital y sus desafiosFundación YOD YOD
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveFagnerLisboa3
 
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptxProyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx241521559
 
9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudianteAndreaHuertas24
 
Redes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdfRedes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdfsoporteupcology
 
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Josephguía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan JosephBRAYANJOSEPHPEREZGOM
 
Plan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docxPlan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docxpabonheidy28
 

Recently uploaded (16)

International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)International Women's Day Sucre 2024 (IWD)
International Women's Day Sucre 2024 (IWD)
 
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
POWER POINT YUCRAElabore una PRESENTACIÓN CORTA sobre el video película: La C...
 
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE  DE TECNOLOGIA E INFORMATICA PRIMARIACLASE  DE TECNOLOGIA E INFORMATICA PRIMARIA
CLASE DE TECNOLOGIA E INFORMATICA PRIMARIA
 
KELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento ProtégelesKELA Presentacion Costa Rica 2024 - evento Protégeles
KELA Presentacion Costa Rica 2024 - evento Protégeles
 
Trabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnologíaTrabajo Mas Completo De Excel en clase tecnología
Trabajo Mas Completo De Excel en clase tecnología
 
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft FabricGlobal Azure Lima 2024 - Integración de Datos con Microsoft Fabric
Global Azure Lima 2024 - Integración de Datos con Microsoft Fabric
 
Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024Cortes-24-de-abril-Tungurahua-3 año 2024
Cortes-24-de-abril-Tungurahua-3 año 2024
 
trabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdftrabajotecologiaisabella-240424003133-8f126965.pdf
trabajotecologiaisabella-240424003133-8f126965.pdf
 
Hernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptxHernandez_Hernandez_Practica web de la sesion 12.pptx
Hernandez_Hernandez_Practica web de la sesion 12.pptx
 
La era de la educación digital y sus desafios
La era de la educación digital y sus desafiosLa era de la educación digital y sus desafios
La era de la educación digital y sus desafios
 
EPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial UninoveEPA-pdf resultado da prova presencial Uninove
EPA-pdf resultado da prova presencial Uninove
 
Proyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptxProyecto integrador. Las TIC en la sociedad S4.pptx
Proyecto integrador. Las TIC en la sociedad S4.pptx
 
9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante9egb-lengua y Literatura.pdf_texto del estudiante
9egb-lengua y Literatura.pdf_texto del estudiante
 
Redes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdfRedes direccionamiento y subredes ipv4 2024 .pdf
Redes direccionamiento y subredes ipv4 2024 .pdf
 
guía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Josephguía de registro de slideshare por Brayan Joseph
guía de registro de slideshare por Brayan Joseph
 
Plan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docxPlan de aula informatica segundo periodo.docx
Plan de aula informatica segundo periodo.docx
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Assert Gumbo

  • 1. assert( Gumbo ) Xavi Beumala xbeumala@adobe.com http://www.rialvalue.com ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 2. Para los que creen que una linea de código no puede dar problemas ® 2 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 3. Para los que quieren plegar a las 6 ® 3 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 4. Para los que no quieren trabajar el fin de semana ® 4 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 5. Para los que quieren tener una vida mejor ® 5 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 6. Para los que quieren tener satisfechos a los clientes ® 6 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 7. Para los que siempre dicen “Pues en mi entorno funciona!!” ® 7 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 8. Para los que creen que los clientes le quieren joder ® 8 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 9. Para los que se creen lo de: “Luego escribo el test” ® 9 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 10. Para los que creen que su arquitectura es la mejor ® 10 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 11. Buenos tests sinónimo de Buena arquitectura ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 12. Código testeable sinónimo de Buena arquitectura ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 13. Errores de software sinónimo de caro, muy Caro ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 14. En EEUU caro es sinónimo de 0.6% PIB = $79.8 billion [1] The Economic Impacts of Inadequate Infrastructure for Software Testing - http://www.nist.gov/director/prog-ofc/report02-3.pdf ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 15. Si no lo pago yo me da igual! ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 16. Seguro que a tu jefe no le da igual! ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 17. aunque la historia cambia Cuando a uno le dicen... ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 18. que... El 30% del coste lo asume desarrollador!! ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 19. A que ya no os da igual !?! ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 20. y más números...  El coste de solventar los errores es exponencialmente proporcional a la fase en la que se detectan[2]  Un error detectado después de una release puede significar un coste de entre 10 y 100 veces mayor que si ese mismo problema se hubiera detectado durante la fase de requerimientos  Un error en la arquitectura después de una release es del orden 25-100 veces mas caro que en fases anteriores [2] McConnell, Steve (2004). Code Complete, 2nd edition, Microsoft Press, 960. ISBN 0-7356-1967-0. ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 21. Algunos numeros...  Los errores en el mundo del software son el mayor de los costes  El mismo estudio del NIST desveló que, en media, el 80% del coste de desarrollo se dedica a identificar y corregir errores  Lo cual quiere decir nos gastamos 80 billones cerrando bugs! [2] McConnell, Steve (2004). Code Complete, 2nd edition, Microsoft Press, 960. ISBN 0-7356-1967-0. ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 22. Pero que es el Testeo  Es una religión? Es una filosofía? Es una moda?  Según Stephen Cobbey la clave del éxito está en la unión equitativa de:  Visión: mente, talento, creatividad, tener un sueño, visualización  Pasión: optimismo, entusiasmo, determinación  Disciplina: make it happen, sacrificio, metodología, fuerza de voluntad El testeo es Disciplina [2] McConnell, Steve (2004). Code Complete, 2nd edition, Microsoft Press, 960. ISBN 0-7356-1967-0. ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 23. Ahora sí... Tipos de testeo  Unit testing. Orientado a la unidad y a código aislado. Fomenta tremendamente la modularidad.  Integration testing. Ejercita distintas unidades de código colaborando conjuntamente.  Functional testing. Black-box user testing.  Manual (Lo barato sale caro!)  Performance  Stress  DB  ... ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 24. Automation  Detect soon, fix soon  Cuanto más tardamos en detectar un error más código tenemos que cambiar  Cuanto más tardamos en detectar un error menos idea tenemos de dónde viene.  Puede llevar bastante rato ejecutar todos los tests  Lo manual si puede fallar, fallará. (Murphy)  Da mucha seguridad. Un cambio pequeño en el código puede significar un gran cambio en el código.  La automatización de los tests tiene que ser parte del proceso de build ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 25. El testeo no es la panacea... Aún existirán errores aunque probablemente serán secundarios y más difíciles de encontrar ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 26. Flex Builder testing Walkthrough ® 26 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 27. FlexUnit 4 Walkthrough ® 27 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 28. Links ® 28 Copyright 2008 Adobe Systems Incorporated. All rights reserved.
  • 29. Links  http://opensource.adobe.com/wiki/display/flexunit/FlexUnit+4+feature +overview  http://flexorg.wip3.adobe.com/flexunit/beta1/ FlexUnit4TurnkeyBeta_1.0.zip  http://blogs.digitalprimates.net/codeSlinger/index.cfm/2009/5/3/ FlexUnit-4-in-360-seconds  http://shareandenjoy.saff.net/tdd-specifications.pdf  http://tv.adobe.com/#vi+f15384v1033 (Agile Testing MAX session) ® Copyright 2008 Adobe Systems Incorporated. All rights reserved.