SlideShare una empresa de Scribd logo
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.

Más contenido relacionado

Último

Presentación de Tic en educación y sobre blogger
Presentación de Tic en educación y sobre bloggerPresentación de Tic en educación y sobre blogger
Presentación de Tic en educación y sobre blogger
larapalaciosmonzon28
 
modelosdeteclados-230114024527-aa2c9553.pptx
modelosdeteclados-230114024527-aa2c9553.pptxmodelosdeteclados-230114024527-aa2c9553.pptx
modelosdeteclados-230114024527-aa2c9553.pptx
evelinglilibethpeafi
 
Catalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador Valencia
Catalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador ValenciaCatalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador Valencia
Catalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador Valencia
AMADO SALVADOR
 
SISTESIS RETO4 Grupo4 co-creadores .ppsx
SISTESIS RETO4 Grupo4 co-creadores .ppsxSISTESIS RETO4 Grupo4 co-creadores .ppsx
SISTESIS RETO4 Grupo4 co-creadores .ppsx
tamarita881
 
Sitios web 3.0 funciones ventajas y desventajas
Sitios web 3.0 funciones ventajas y desventajasSitios web 3.0 funciones ventajas y desventajas
Sitios web 3.0 funciones ventajas y desventajas
paulroyal74
 
Projecte Iniciativa TIC 2024 HPE. inCV.pdf
Projecte Iniciativa TIC 2024 HPE. inCV.pdfProjecte Iniciativa TIC 2024 HPE. inCV.pdf
Projecte Iniciativa TIC 2024 HPE. inCV.pdf
Festibity
 
Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024
Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024
Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024
CesarPazosQuispe
 
Catalogo general Ariston Amado Salvador distribuidor oficial Valencia
Catalogo general Ariston Amado Salvador distribuidor oficial ValenciaCatalogo general Ariston Amado Salvador distribuidor oficial Valencia
Catalogo general Ariston Amado Salvador distribuidor oficial Valencia
AMADO SALVADOR
 
Catalogo Cajas Fuertes BTV Amado Salvador Distribuidor Oficial
Catalogo Cajas Fuertes BTV Amado Salvador Distribuidor OficialCatalogo Cajas Fuertes BTV Amado Salvador Distribuidor Oficial
Catalogo Cajas Fuertes BTV Amado Salvador Distribuidor Oficial
AMADO SALVADOR
 
Refrigeradores Samsung Modo Test y Forzado
Refrigeradores Samsung Modo Test y ForzadoRefrigeradores Samsung Modo Test y Forzado
Refrigeradores Samsung Modo Test y Forzado
NicandroMartinez2
 
Manual de soporte y mantenimiento de equipo de cómputo
Manual de soporte y mantenimiento de equipo de cómputoManual de soporte y mantenimiento de equipo de cómputo
Manual de soporte y mantenimiento de equipo de cómputo
doctorsoluciones34
 
TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....
TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....
TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....
bendezuperezjimena
 
computacion global 3.pdf pARA TERCER GRADO
computacion global 3.pdf pARA TERCER GRADOcomputacion global 3.pdf pARA TERCER GRADO
computacion global 3.pdf pARA TERCER GRADO
YaniEscobar2
 
IA en entornos rurales aplicada a la viticultura
IA en entornos rurales aplicada a la viticulturaIA en entornos rurales aplicada a la viticultura
IA en entornos rurales aplicada a la viticultura
Miguel Rebollo
 
Projecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdf
Projecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdfProjecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdf
Projecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdf
Festibity
 
herramientas de sitio web 3.0 2024
herramientas de sitio web 3.0  2024herramientas de sitio web 3.0  2024
herramientas de sitio web 3.0 2024
julio05042006
 
Manual de Soporte y mantenimiento de equipo de cómputos
Manual de Soporte y mantenimiento de equipo de cómputosManual de Soporte y mantenimiento de equipo de cómputos
Manual de Soporte y mantenimiento de equipo de cómputos
cbtechchihuahua
 
Informació Projecte Iniciativa TIC HPE.pdf
Informació Projecte Iniciativa TIC HPE.pdfInformació Projecte Iniciativa TIC HPE.pdf
Informació Projecte Iniciativa TIC HPE.pdf
Festibity
 
Presentacion de Estado del Arte del The Clean
Presentacion de Estado del Arte del The CleanPresentacion de Estado del Arte del The Clean
Presentacion de Estado del Arte del The Clean
juanchogame18
 
HERRAMIENTAS WEB--------------------.pptx
HERRAMIENTAS WEB--------------------.pptxHERRAMIENTAS WEB--------------------.pptx
HERRAMIENTAS WEB--------------------.pptx
maralache30
 

Último (20)

Presentación de Tic en educación y sobre blogger
Presentación de Tic en educación y sobre bloggerPresentación de Tic en educación y sobre blogger
Presentación de Tic en educación y sobre blogger
 
modelosdeteclados-230114024527-aa2c9553.pptx
modelosdeteclados-230114024527-aa2c9553.pptxmodelosdeteclados-230114024527-aa2c9553.pptx
modelosdeteclados-230114024527-aa2c9553.pptx
 
Catalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador Valencia
Catalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador ValenciaCatalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador Valencia
Catalogo Refrigeracion Miele Distribuidor Oficial Amado Salvador Valencia
 
SISTESIS RETO4 Grupo4 co-creadores .ppsx
SISTESIS RETO4 Grupo4 co-creadores .ppsxSISTESIS RETO4 Grupo4 co-creadores .ppsx
SISTESIS RETO4 Grupo4 co-creadores .ppsx
 
Sitios web 3.0 funciones ventajas y desventajas
Sitios web 3.0 funciones ventajas y desventajasSitios web 3.0 funciones ventajas y desventajas
Sitios web 3.0 funciones ventajas y desventajas
 
Projecte Iniciativa TIC 2024 HPE. inCV.pdf
Projecte Iniciativa TIC 2024 HPE. inCV.pdfProjecte Iniciativa TIC 2024 HPE. inCV.pdf
Projecte Iniciativa TIC 2024 HPE. inCV.pdf
 
Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024
Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024
Semana 10_MATRIZ IPER_UPN_ADM_03.06.2024
 
Catalogo general Ariston Amado Salvador distribuidor oficial Valencia
Catalogo general Ariston Amado Salvador distribuidor oficial ValenciaCatalogo general Ariston Amado Salvador distribuidor oficial Valencia
Catalogo general Ariston Amado Salvador distribuidor oficial Valencia
 
Catalogo Cajas Fuertes BTV Amado Salvador Distribuidor Oficial
Catalogo Cajas Fuertes BTV Amado Salvador Distribuidor OficialCatalogo Cajas Fuertes BTV Amado Salvador Distribuidor Oficial
Catalogo Cajas Fuertes BTV Amado Salvador Distribuidor Oficial
 
Refrigeradores Samsung Modo Test y Forzado
Refrigeradores Samsung Modo Test y ForzadoRefrigeradores Samsung Modo Test y Forzado
Refrigeradores Samsung Modo Test y Forzado
 
Manual de soporte y mantenimiento de equipo de cómputo
Manual de soporte y mantenimiento de equipo de cómputoManual de soporte y mantenimiento de equipo de cómputo
Manual de soporte y mantenimiento de equipo de cómputo
 
TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....
TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....
TODO SOBRE LA INFORMÁTICA, HISTORIA, ¿QUE ES?, IMPORTANCIA Y CARACTERISTICAS....
 
computacion global 3.pdf pARA TERCER GRADO
computacion global 3.pdf pARA TERCER GRADOcomputacion global 3.pdf pARA TERCER GRADO
computacion global 3.pdf pARA TERCER GRADO
 
IA en entornos rurales aplicada a la viticultura
IA en entornos rurales aplicada a la viticulturaIA en entornos rurales aplicada a la viticultura
IA en entornos rurales aplicada a la viticultura
 
Projecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdf
Projecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdfProjecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdf
Projecte Iniciativa TIC 2024 KAWARU CONSULTING. inCV.pdf
 
herramientas de sitio web 3.0 2024
herramientas de sitio web 3.0  2024herramientas de sitio web 3.0  2024
herramientas de sitio web 3.0 2024
 
Manual de Soporte y mantenimiento de equipo de cómputos
Manual de Soporte y mantenimiento de equipo de cómputosManual de Soporte y mantenimiento de equipo de cómputos
Manual de Soporte y mantenimiento de equipo de cómputos
 
Informació Projecte Iniciativa TIC HPE.pdf
Informació Projecte Iniciativa TIC HPE.pdfInformació Projecte Iniciativa TIC HPE.pdf
Informació Projecte Iniciativa TIC HPE.pdf
 
Presentacion de Estado del Arte del The Clean
Presentacion de Estado del Arte del The CleanPresentacion de Estado del Arte del The Clean
Presentacion de Estado del Arte del The Clean
 
HERRAMIENTAS WEB--------------------.pptx
HERRAMIENTAS WEB--------------------.pptxHERRAMIENTAS WEB--------------------.pptx
HERRAMIENTAS WEB--------------------.pptx
 

Destacado

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
Marius 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 ChatGPT
Expeed 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 Engineerings
Pixeldarts
 
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
ThinkNow
 
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
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
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
Neil 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 2024
Albert 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 Insights
Kurio // 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 2024
Search 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 summary
SpeakerHub
 
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 Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit 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 management
MindGenius
 
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
 

Destacado (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.