SlideShare una empresa de Scribd logo
1 de 36
Pruebas unitarias para calidad de Dokeos
Uso Automatizar pruebas
Uso Asegurar paquetes robustos
Uso Repetibles e Independiente
Uso Asegurar usuarios felices
Uso Ahorrar tiempo y dinero
Esquema de una prueba Código de Dokeos Código de la Prueba Pedida Devuelve Verifica Envía Simple Test Función  Función Clases Prueba Resultado Tipos de assert Pasó Error
¿Como lo hacemos?
SELENIUM Registra los clic, escritura, y acciones prueba -Fácil reproducción y grabación. -Reporte en distintos formatos. -Llenado en los campos.
Imagen de Selenium IDE http://seleniumhq.org/docs/03_selenium_ide.html
Imagen de Selenium IDE
PHING Constructor de proyectos Generador paquete Ahorro de tiempo
Estructura de configuración
Estructura de configuración
Estructura de configuración
Estructura de configuración
XINC Generador de reporte
 
 
 
SIMPLE TEST ¿QUE ES?
FUNCIONES CLASES ¿Donde probamos?
Tipos de Pruebas BASICAS INTERMEDIAS AVANZADAS
BASICO TRUE / FALSE
Imagen de prueba básica
Imagen de prueba básica
Assert Set up Tear down INTERMEDIO
Assert
SET UP  /  TEAR DOWN require_once('../classes/writer.php'); class FileTestCase extends UnitTestCase { function FileTestCase() { $this->UnitTestCase('File test'); } function setUp()  { } function tearDown()  { } function testCreation() { $writer = &new FileWriter('../temp/test.txt'); $writer->write('Hello'); $this->assertTrue(file_exists('../temp/test.txt'), 'File created'); } }
Mock Buffer Refactoring AVANZADO
Resultados Específicos Devolver el valor esperado Mensajes de excepción No retorna nada
Conclusiones Ubica y ayuda al programador. Ayuda automatizar las pruebas. Sirve en licitaciones. Software de calidad.
Visión Pruebas para seguridad Pruebas reutilizables.
Glosario http://simpletest.org/index.html http://www.lastcraft.com/simple_test.php http://blog.rodrigoarce.com/unit-testing-otra-manera-de-testear/#comment-195 http://www.devpapers.com/article/303/ http://www.republicait.com/2009/02/24/phing/ http://www.lunasil.com/docs/index.html http://seleniumhq.org/ http://www.pablasso.com/2009/05/29/unit-tests-en-php-con-simpletest
GRACIAS
Preguntas? VISITANOS http://dokeoslatinoamerica.wordpress.com/

Más contenido relacionado

La actualidad más candente

An Introduction to Unit Testing
An Introduction to Unit TestingAn Introduction to Unit Testing
An Introduction to Unit TestingJoe Tremblay
 
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...Edureka!
 
Manual testing
Manual testingManual testing
Manual testingVivek V
 
Unit testing framework
Unit testing frameworkUnit testing framework
Unit testing frameworkIgor Vavrish
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioLokesh Agrawal
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and TechniqueSachin-QA
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven TestingMaveryx
 
TestNG Session presented in PB
TestNG Session presented in PBTestNG Session presented in PB
TestNG Session presented in PBAbhishek Yadav
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test caseSrilu Balla
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy Impetus Technologies
 
Developing a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian BayerDeveloping a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian BayerQA or the Highway
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessLee Barnes
 
Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkMikhail Subach
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? EdurekaEdureka!
 

La actualidad más candente (20)

An Introduction to Unit Testing
An Introduction to Unit TestingAn Introduction to Unit Testing
An Introduction to Unit Testing
 
JUNit Presentation
JUNit PresentationJUNit Presentation
JUNit Presentation
 
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification...
 
Manual testing
Manual testingManual testing
Manual testing
 
Unit testing framework
Unit testing frameworkUnit testing framework
Unit testing framework
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test Scenario
 
Test Case Design and Technique
Test Case Design and TechniqueTest Case Design and Technique
Test Case Design and Technique
 
Junit
JunitJunit
Junit
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
 
TestNG Session presented in PB
TestNG Session presented in PBTestNG Session presented in PB
TestNG Session presented in PB
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy
 
Developing a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian BayerDeveloping a test automation strategy by Brian Bayer
Developing a test automation strategy by Brian Bayer
 
Hybrid framework
Hybrid frameworkHybrid framework
Hybrid framework
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation Framework
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
 
Unit Testing (C#)
Unit Testing (C#)Unit Testing (C#)
Unit Testing (C#)
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 

Destacado

11 Microsoft Solo Pruebas 2009
11 Microsoft Solo Pruebas 200911 Microsoft Solo Pruebas 2009
11 Microsoft Solo Pruebas 2009Pepe
 
AutomatizacióN Del Software
AutomatizacióN Del SoftwareAutomatizacióN Del Software
AutomatizacióN Del Softwaremsc080277
 
05 Almira Labs VII Semana CMMI
05 Almira Labs VII Semana CMMI05 Almira Labs VII Semana CMMI
05 Almira Labs VII Semana CMMIPepe
 
Pruebas Automatizadas
Pruebas AutomatizadasPruebas Automatizadas
Pruebas AutomatizadasAngel Nuñez
 
Automatización de pruebas funcionales
Automatización de pruebas funcionalesAutomatización de pruebas funcionales
Automatización de pruebas funcionalesVicenç García-Altés
 
Uvm organizacion clase 2
Uvm organizacion clase 2Uvm organizacion clase 2
Uvm organizacion clase 2Aramir14
 

Destacado (6)

11 Microsoft Solo Pruebas 2009
11 Microsoft Solo Pruebas 200911 Microsoft Solo Pruebas 2009
11 Microsoft Solo Pruebas 2009
 
AutomatizacióN Del Software
AutomatizacióN Del SoftwareAutomatizacióN Del Software
AutomatizacióN Del Software
 
05 Almira Labs VII Semana CMMI
05 Almira Labs VII Semana CMMI05 Almira Labs VII Semana CMMI
05 Almira Labs VII Semana CMMI
 
Pruebas Automatizadas
Pruebas AutomatizadasPruebas Automatizadas
Pruebas Automatizadas
 
Automatización de pruebas funcionales
Automatización de pruebas funcionalesAutomatización de pruebas funcionales
Automatización de pruebas funcionales
 
Uvm organizacion clase 2
Uvm organizacion clase 2Uvm organizacion clase 2
Uvm organizacion clase 2
 

Similar a Presentacion De Pruebas Automatizadas

Novedades De Visual Studio 2010
Novedades De Visual Studio 2010Novedades De Visual Studio 2010
Novedades De Visual Studio 2010Foquita05
 
Cypress en un mundo lleno de Selenium
Cypress en un mundo lleno de SeleniumCypress en un mundo lleno de Selenium
Cypress en un mundo lleno de SeleniumSoftware Guru
 
TechNoa 2007 - Visual Studio Team Systems
TechNoa 2007 - Visual Studio Team SystemsTechNoa 2007 - Visual Studio Team Systems
TechNoa 2007 - Visual Studio Team Systemsfmmeson
 
12 MicroSoft SFIC 2009
12 MicroSoft SFIC 200912 MicroSoft SFIC 2009
12 MicroSoft SFIC 2009Pepe
 
Testing Con Visual Studio Team System 2008
Testing Con Visual Studio Team System 2008Testing Con Visual Studio Team System 2008
Testing Con Visual Studio Team System 2008Diego Ferreyra
 
Pruebas automatizadas de aceptación en aplicaciones web
Pruebas automatizadas de aceptación en aplicaciones webPruebas automatizadas de aceptación en aplicaciones web
Pruebas automatizadas de aceptación en aplicaciones webGiannis Morales
 
Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...
Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...
Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...TestingUy
 
Framework .NET 3.5 15 Configuración y despliegue de soluciones
Framework .NET 3.5 15 Configuración y despliegue de solucionesFramework .NET 3.5 15 Configuración y despliegue de soluciones
Framework .NET 3.5 15 Configuración y despliegue de solucionesAntonio Palomares Sender
 
INDUCCION A QA TESTER.pptx
INDUCCION A QA TESTER.pptxINDUCCION A QA TESTER.pptx
INDUCCION A QA TESTER.pptxOdalisLinares
 
Testing como parte de la cultura DevOps
Testing como parte de la cultura DevOpsTesting como parte de la cultura DevOps
Testing como parte de la cultura DevOpsAbel Quintana Lopez
 
Roadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis Soria
Roadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis SoriaRoadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis Soria
Roadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis SoriaJose Luis Soria
 
Pruebas de software
Pruebas de softwarePruebas de software
Pruebas de softwareGomez Gomez
 
Presentacion Microsoft
Presentacion MicrosoftPresentacion Microsoft
Presentacion Microsoftfcolauravel
 
Selenium + Docker: ¡Qué me es-test container!
Selenium + Docker: ¡Qué me es-test container!Selenium + Docker: ¡Qué me es-test container!
Selenium + Docker: ¡Qué me es-test container!Ángel García Santos
 
Extreme Programing y Devops - Código de Calidad
Extreme Programing y Devops - Código de CalidadExtreme Programing y Devops - Código de Calidad
Extreme Programing y Devops - Código de CalidadJose Antonio Jimenez Bisbe
 

Similar a Presentacion De Pruebas Automatizadas (20)

Novedades De Visual Studio 2010
Novedades De Visual Studio 2010Novedades De Visual Studio 2010
Novedades De Visual Studio 2010
 
Cypress en un mundo lleno de Selenium
Cypress en un mundo lleno de SeleniumCypress en un mundo lleno de Selenium
Cypress en un mundo lleno de Selenium
 
TechNoa 2007 - Visual Studio Team Systems
TechNoa 2007 - Visual Studio Team SystemsTechNoa 2007 - Visual Studio Team Systems
TechNoa 2007 - Visual Studio Team Systems
 
12 MicroSoft SFIC 2009
12 MicroSoft SFIC 200912 MicroSoft SFIC 2009
12 MicroSoft SFIC 2009
 
Testing Con Visual Studio Team System 2008
Testing Con Visual Studio Team System 2008Testing Con Visual Studio Team System 2008
Testing Con Visual Studio Team System 2008
 
Pruebas automatizadas de aceptación en aplicaciones web
Pruebas automatizadas de aceptación en aplicaciones webPruebas automatizadas de aceptación en aplicaciones web
Pruebas automatizadas de aceptación en aplicaciones web
 
Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...
Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...
Taller evento TestingUY 2015 - Técnicas de Automatización Going from GOOD to ...
 
Introduction to unit testing
Introduction to unit testingIntroduction to unit testing
Introduction to unit testing
 
Framework .NET 3.5 15 Configuración y despliegue de soluciones
Framework .NET 3.5 15 Configuración y despliegue de solucionesFramework .NET 3.5 15 Configuración y despliegue de soluciones
Framework .NET 3.5 15 Configuración y despliegue de soluciones
 
INDUCCION A QA TESTER.pptx
INDUCCION A QA TESTER.pptxINDUCCION A QA TESTER.pptx
INDUCCION A QA TESTER.pptx
 
Testing como parte de la cultura DevOps
Testing como parte de la cultura DevOpsTesting como parte de la cultura DevOps
Testing como parte de la cultura DevOps
 
Automatizacion de Pruebas
Automatizacion de PruebasAutomatizacion de Pruebas
Automatizacion de Pruebas
 
Conociendo Nuestro Fua interno
Conociendo Nuestro Fua internoConociendo Nuestro Fua interno
Conociendo Nuestro Fua interno
 
TFS 10
TFS 10TFS 10
TFS 10
 
Roadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis Soria
Roadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis SoriaRoadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis Soria
Roadshow ALM Calidad 2013 - Infraestructura de pruebas - Jose Luis Soria
 
Pruebas de software
Pruebas de softwarePruebas de software
Pruebas de software
 
Presentacion Microsoft
Presentacion MicrosoftPresentacion Microsoft
Presentacion Microsoft
 
Selenium + docker
Selenium + dockerSelenium + docker
Selenium + docker
 
Selenium + Docker: ¡Qué me es-test container!
Selenium + Docker: ¡Qué me es-test container!Selenium + Docker: ¡Qué me es-test container!
Selenium + Docker: ¡Qué me es-test container!
 
Extreme Programing y Devops - Código de Calidad
Extreme Programing y Devops - Código de CalidadExtreme Programing y Devops - Código de Calidad
Extreme Programing y Devops - Código de Calidad
 

Presentacion De Pruebas Automatizadas

Notas del editor

  1. correcto funcionamiento de un módulo de código asegurar que cada uno de los módulos funcione correctamente por separado * Automatizable: no debería requerirse una intervención manual. Esto es especialmente útil para integración continua. * Completas: deben cubrir la mayor cantidad de código. * Repetibles o Reutilizables: no se deben crear pruebas que sólo puedan ser ejecutadas una sola vez. También es útil para integración continua. * Independientes: la ejecución de una prueba no debe afectar a la ejecución de otra. * Profesionales: las pruebas deben ser consideradas igual que el código, con la misma profesionalidad, documentación, etc.
  2. No debe requerirse la intervencion manual y es util para la integracion continua La integración continua: es una metodología informática propuesta inicialmente por Martin Fowler que consiste en hacer integraciones automáticas de un proyecto lo más a menudo posible para así poder detectar fallos cuanto antes. Entendemos por integración la compilación y ejecución de tests de todo un proyecto.
  3. Mas pruebas, de forma repititva, aseguran un buen nivel de solidez
  4. no se deben crear pruebas que sólo puedan ser ejecutadas una sola vez. También es útil para integración continua.
  5. Porque los usuarios no son conejitos de india
  6. Los procesos automatizables no cuestan ni tiempo ni dinero
  7. La estructura de la aplicación se describe en un archivo XML llamado build.xml, en este archivo podemos encontrar el nombre de la aplicación a construir, una descripción de la misma, la carpeta donde se encuentra nuestro código fuente, la carpeta de destino que contendrá la última versión de la aplicación y las tareas (tasks) que este debe ejecutar.
  8. Xinc incluye una interfaz de usuario que le permite ver e imprimir documentos XSL-FO (visor)