

TESTING EN PHP CON
TESTING EN PHP CON
Gabriel Trujillo C. @TheDull

TESTING CON
¿Pruebas?
Pero si yo soy
desarrollador







TESTING CON
¿Pruebas?

Desacoplamiento
Integración Continua
Estabilidad


TESTING CON
CODECEPTION

Full-stack testing PHP framework
- Unit
- Functional
- Acceptance
[
]

TESTING CON
CODECEPTION
Full-stack testing PHP framework


TESTING CON
INSTALACIÓN

Install a Composer to your project's root
Run:
composer require "codeception/codeception" --dev
Execute it as
./vendor/bin/codecept
Initialize your testing environment with
codecept bootstrap
Download Phar Executable (PHP 7.0)
wget http://codeception.com/codecept.phardownload
Execute it as:
php codecept.phar
COMPOSER
PHAR

TESTING CON
PRUEBAS UNITARIAS

A
A
A
rrange
CT
SSERT

TESTING CON
PRUEBAS UNITARIAS


TESTING CON
PRUEBAS UNITARIAS

TDD

TESTING CON
PRUEBAS UNITARIAS
Mocks
Stubs
Cobertura de código
- HTML
- XML



TESTING CON
PRUEBAS DE API REST
Pruebas de datos


TESTING CON
PRUEBAS FUNCIONALES
PhpBrowser
WebDriver
- ChromeDriver
- Selenium


TESTING CON
PRUEBAS DE ACEPTACIÓN
BDD
Gherkin - Behat

TESTING CON
Y MUCHO MÁS
Extensiones
Add-ons
- DotReporter
- Logger
- Recorder
- RunProcess
- Test Tools Chrome extension
- Webception



TESTING CON
¿PREGUNTAS?



Codeception
By gabby_tee
Codeception
- 974