SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Guia Basica para bachillerato de Circuitos Basicos
Guia Basica para bachillerato de Circuitos BasicosGuia Basica para bachillerato de Circuitos Basicos
Guia Basica para bachillerato de Circuitos BasicosJhonJairoRodriguezCe
 
EVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptx
EVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptxEVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptx
EVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptxJorgeParada26
 
investigación de los Avances tecnológicos del siglo XXI
investigación de los Avances tecnológicos del siglo XXIinvestigación de los Avances tecnológicos del siglo XXI
investigación de los Avances tecnológicos del siglo XXIhmpuellon
 
Buenos_Aires_Meetup_Redis_20240430_.pptx
Buenos_Aires_Meetup_Redis_20240430_.pptxBuenos_Aires_Meetup_Redis_20240430_.pptx
Buenos_Aires_Meetup_Redis_20240430_.pptxFederico Castellari
 
Innovaciones tecnologicas en el siglo 21
Innovaciones tecnologicas en el siglo 21Innovaciones tecnologicas en el siglo 21
Innovaciones tecnologicas en el siglo 21mariacbr99
 
redes informaticas en una oficina administrativa
redes informaticas en una oficina administrativaredes informaticas en una oficina administrativa
redes informaticas en una oficina administrativanicho110
 
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...JohnRamos830530
 
How to use Redis with MuleSoft. A quick start presentation.
How to use Redis with MuleSoft. A quick start presentation.How to use Redis with MuleSoft. A quick start presentation.
How to use Redis with MuleSoft. A quick start presentation.FlorenciaCattelani
 
Avances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvanaAvances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvanamcerpam
 
Avances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estosAvances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estossgonzalezp1
 

Kürzlich hochgeladen (10)

Guia Basica para bachillerato de Circuitos Basicos
Guia Basica para bachillerato de Circuitos BasicosGuia Basica para bachillerato de Circuitos Basicos
Guia Basica para bachillerato de Circuitos Basicos
 
EVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptx
EVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptxEVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptx
EVOLUCION DE LA TECNOLOGIA Y SUS ASPECTOSpptx
 
investigación de los Avances tecnológicos del siglo XXI
investigación de los Avances tecnológicos del siglo XXIinvestigación de los Avances tecnológicos del siglo XXI
investigación de los Avances tecnológicos del siglo XXI
 
Buenos_Aires_Meetup_Redis_20240430_.pptx
Buenos_Aires_Meetup_Redis_20240430_.pptxBuenos_Aires_Meetup_Redis_20240430_.pptx
Buenos_Aires_Meetup_Redis_20240430_.pptx
 
Innovaciones tecnologicas en el siglo 21
Innovaciones tecnologicas en el siglo 21Innovaciones tecnologicas en el siglo 21
Innovaciones tecnologicas en el siglo 21
 
redes informaticas en una oficina administrativa
redes informaticas en una oficina administrativaredes informaticas en una oficina administrativa
redes informaticas en una oficina administrativa
 
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
Resistencia extrema al cobre por un consorcio bacteriano conformado por Sulfo...
 
How to use Redis with MuleSoft. A quick start presentation.
How to use Redis with MuleSoft. A quick start presentation.How to use Redis with MuleSoft. A quick start presentation.
How to use Redis with MuleSoft. A quick start presentation.
 
Avances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvanaAvances tecnológicos del siglo XXI 10-07 eyvana
Avances tecnológicos del siglo XXI 10-07 eyvana
 
Avances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estosAvances tecnológicos del siglo XXI y ejemplos de estos
Avances tecnológicos del siglo XXI y ejemplos de estos
 

Empfohlen

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
 

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