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

Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testingikhwanhayat
 
TestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBearTestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBearSoftware Testing Solution
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using SeleniumNaresh Chintalcheru
 
Test Process
Test ProcessTest Process
Test Processtokarthik
 
B4USolution_API-Testing
B4USolution_API-TestingB4USolution_API-Testing
B4USolution_API-Testingb4usolution .
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testingpingkapil
 
Automation Best Practices
Automation Best PracticesAutomation Best Practices
Automation Best PracticesSauce Labs
 
CI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality EngineeringCI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality EngineeringSushma
 
Client side performance testing using blazemeter
Client side performance testing using blazemeterClient side performance testing using blazemeter
Client side performance testing using blazemeterGowthamraj Palani
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
TestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit TestingTestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit TestingBethmi Gunasekara
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingTharinda Liyanage
 

La actualidad más candente (20)

Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
 
Robotium Tutorial
Robotium TutorialRobotium Tutorial
Robotium Tutorial
 
TestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBearTestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBear
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Test Process
Test ProcessTest Process
Test Process
 
B4USolution_API-Testing
B4USolution_API-TestingB4USolution_API-Testing
B4USolution_API-Testing
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testing
 
TMMi Implementation Guideline
TMMi Implementation GuidelineTMMi Implementation Guideline
TMMi Implementation Guideline
 
Automation Best Practices
Automation Best PracticesAutomation Best Practices
Automation Best Practices
 
CI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality EngineeringCI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality Engineering
 
Unit Testing (C#)
Unit Testing (C#)Unit Testing (C#)
Unit Testing (C#)
 
Automation Testing
Automation TestingAutomation Testing
Automation Testing
 
Test Automation - Keytorc Approach
Test Automation - Keytorc Approach Test Automation - Keytorc Approach
Test Automation - Keytorc Approach
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Client side performance testing using blazemeter
Client side performance testing using blazemeterClient side performance testing using blazemeter
Client side performance testing using blazemeter
 
Test Automation
Test AutomationTest Automation
Test Automation
 
TestNG
TestNGTestNG
TestNG
 
TestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit TestingTestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit Testing
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 

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
 
Automatizacion De Pruebas De Software
Automatizacion De Pruebas De SoftwareAutomatizacion De Pruebas De Software
Automatizacion De Pruebas De SoftwareRubiano
 
Uvm organizacion clase 2
Uvm organizacion clase 2Uvm organizacion clase 2
Uvm organizacion clase 2Aramir14
 

Destacado (7)

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
 
Automatizacion De Pruebas De Software
Automatizacion De Pruebas De SoftwareAutomatizacion De Pruebas De Software
Automatizacion De Pruebas De Software
 
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)