Enviar búsqueda
Cargar
Symfony2. Unit testing by Vadim Kharitonov
•
1 recomendación
•
690 vistas
M
Minsk PHP User Group
Seguir
Minsk Symfony: встреча в Марте
Leer menos
Leer más
Tecnología
Educación
Denunciar
Compartir
Denunciar
Compartir
1 de 49
Descargar ahora
Descargar para leer sin conexión
Recomendados
SnortReport Presentation
SnortReport Presentation
webhostingguy
Cluster setup multinode_aws
Cluster setup multinode_aws
sparrowAnalytics.com
Kaizer killer report
Kaizer killer report
Nharzkie
Metasploitable
Metasploitable
Sri Manakula Vinayagar Engineering College
8 steps to protect your cisco router
8 steps to protect your cisco router
IT Tech
Lamp configuration u buntu 10.04
Lamp configuration u buntu 10.04
mikehie
3 manual installation of open vpn
3 manual installation of open vpn
Ashwajit Maske
Monit
Monit
Abhishek Singh
Recomendados
SnortReport Presentation
SnortReport Presentation
webhostingguy
Cluster setup multinode_aws
Cluster setup multinode_aws
sparrowAnalytics.com
Kaizer killer report
Kaizer killer report
Nharzkie
Metasploitable
Metasploitable
Sri Manakula Vinayagar Engineering College
8 steps to protect your cisco router
8 steps to protect your cisco router
IT Tech
Lamp configuration u buntu 10.04
Lamp configuration u buntu 10.04
mikehie
3 manual installation of open vpn
3 manual installation of open vpn
Ashwajit Maske
Monit
Monit
Abhishek Singh
Optix Pro Bo2 K Trojan
Optix Pro Bo2 K Trojan
Shinra
Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6
Pablo Martínez Ascaso
Linux Security and Hardening, 40 Tips 2019
Linux Security and Hardening, 40 Tips 2019
Saeid Bostandoust
20150613 self-puppet v4-avoiding_dragons
20150613 self-puppet v4-avoiding_dragons
garrett honeycutt
Aryandi triyanto 10 (tugas cisco 1 router 3 pc)
Aryandi triyanto 10 (tugas cisco 1 router 3 pc)
aryandi572
Netmiko library
Netmiko library
Manjunath annure
BDD in Symfony2
BDD in Symfony2
Konstantin Kudryashov
Testing with Codeception
Testing with Codeception
Jeremy Coates
PhpUnit Best Practices
PhpUnit Best Practices
Edorian
Testing and symfony2
Testing and symfony2
The Software House
Building a Pyramid: Symfony Testing Strategies
Building a Pyramid: Symfony Testing Strategies
CiaranMcNulty
Unit and Functional Testing with Symfony2
Unit and Functional Testing with Symfony2
Fabien Potencier
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
Javier Eguiluz
Unit testing symfony plugins with php unit
Unit testing symfony plugins with php unit
Christian Schaefer
Vagrant for real codemotion (moar tips! ;-))
Vagrant for real codemotion (moar tips! ;-))
Michele Orselli
Getting started with TDD - Confoo 2014
Getting started with TDD - Confoo 2014
Eric Hogue
Guarding Your Code Against Bugs with Continuous Testing
Guarding Your Code Against Bugs with Continuous Testing
Eric Hogue
Continuous testing In PHP
Continuous testing In PHP
Eric Hogue
Hardening Drupal setup
Hardening Drupal setup
Zeeland Family
Grâce aux tags Varnish, j'ai switché ma prod sur Raspberry Pi
Grâce aux tags Varnish, j'ai switché ma prod sur Raspberry Pi
Jérémy Derussé
My name is Trinidad
My name is Trinidad
David Calavera
Introduzione ai test automatici con PHPunit
Introduzione ai test automatici con PHPunit
Fabio Giannese (Diodœ)
Más contenido relacionado
La actualidad más candente
Optix Pro Bo2 K Trojan
Optix Pro Bo2 K Trojan
Shinra
Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6
Pablo Martínez Ascaso
Linux Security and Hardening, 40 Tips 2019
Linux Security and Hardening, 40 Tips 2019
Saeid Bostandoust
20150613 self-puppet v4-avoiding_dragons
20150613 self-puppet v4-avoiding_dragons
garrett honeycutt
Aryandi triyanto 10 (tugas cisco 1 router 3 pc)
Aryandi triyanto 10 (tugas cisco 1 router 3 pc)
aryandi572
Netmiko library
Netmiko library
Manjunath annure
La actualidad más candente
(6)
Optix Pro Bo2 K Trojan
Optix Pro Bo2 K Trojan
Como instalar aeroo en open erp 6
Como instalar aeroo en open erp 6
Linux Security and Hardening, 40 Tips 2019
Linux Security and Hardening, 40 Tips 2019
20150613 self-puppet v4-avoiding_dragons
20150613 self-puppet v4-avoiding_dragons
Aryandi triyanto 10 (tugas cisco 1 router 3 pc)
Aryandi triyanto 10 (tugas cisco 1 router 3 pc)
Netmiko library
Netmiko library
Destacado
BDD in Symfony2
BDD in Symfony2
Konstantin Kudryashov
Testing with Codeception
Testing with Codeception
Jeremy Coates
PhpUnit Best Practices
PhpUnit Best Practices
Edorian
Testing and symfony2
Testing and symfony2
The Software House
Building a Pyramid: Symfony Testing Strategies
Building a Pyramid: Symfony Testing Strategies
CiaranMcNulty
Unit and Functional Testing with Symfony2
Unit and Functional Testing with Symfony2
Fabien Potencier
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
Javier Eguiluz
Unit testing symfony plugins with php unit
Unit testing symfony plugins with php unit
Christian Schaefer
Destacado
(8)
BDD in Symfony2
BDD in Symfony2
Testing with Codeception
Testing with Codeception
PhpUnit Best Practices
PhpUnit Best Practices
Testing and symfony2
Testing and symfony2
Building a Pyramid: Symfony Testing Strategies
Building a Pyramid: Symfony Testing Strategies
Unit and Functional Testing with Symfony2
Unit and Functional Testing with Symfony2
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
New Symfony Tips & Tricks (SymfonyCon Paris 2015)
Unit testing symfony plugins with php unit
Unit testing symfony plugins with php unit
Similar a Symfony2. Unit testing by Vadim Kharitonov
Vagrant for real codemotion (moar tips! ;-))
Vagrant for real codemotion (moar tips! ;-))
Michele Orselli
Getting started with TDD - Confoo 2014
Getting started with TDD - Confoo 2014
Eric Hogue
Guarding Your Code Against Bugs with Continuous Testing
Guarding Your Code Against Bugs with Continuous Testing
Eric Hogue
Continuous testing In PHP
Continuous testing In PHP
Eric Hogue
Hardening Drupal setup
Hardening Drupal setup
Zeeland Family
Grâce aux tags Varnish, j'ai switché ma prod sur Raspberry Pi
Grâce aux tags Varnish, j'ai switché ma prod sur Raspberry Pi
Jérémy Derussé
My name is Trinidad
My name is Trinidad
David Calavera
Introduzione ai test automatici con PHPunit
Introduzione ai test automatici con PHPunit
Fabio Giannese (Diodœ)
Centos config
Centos config
Muhammad Abdi
Symfony Under the Hood
Symfony Under the Hood
eZ Systems
Phpunit testing
Phpunit testing
Nikunj Bhatnagar
DEF CON 27 - MICHAEL LEIBOWITZ and TOPHER TIMZEN - edr is coming hide yo sht
DEF CON 27 - MICHAEL LEIBOWITZ and TOPHER TIMZEN - edr is coming hide yo sht
Felipe Prado
Zend Framework 2 - PHPUnit
Zend Framework 2 - PHPUnit
Tarun Kumar Singhal
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
Ian Barber
Debugging: Rules & Tools
Debugging: Rules & Tools
Ian Barber
How to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHub
Tiago Simões
Php version 5
Php version 5
Mar Rubio Rubio
Symfony2 for Midgard Developers
Symfony2 for Midgard Developers
Henri Bergius
Fighting Fear-Driven-Development With PHPUnit
Fighting Fear-Driven-Development With PHPUnit
James Fuller
The Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/Press
Jeroen van Dijk
Similar a Symfony2. Unit testing by Vadim Kharitonov
(20)
Vagrant for real codemotion (moar tips! ;-))
Vagrant for real codemotion (moar tips! ;-))
Getting started with TDD - Confoo 2014
Getting started with TDD - Confoo 2014
Guarding Your Code Against Bugs with Continuous Testing
Guarding Your Code Against Bugs with Continuous Testing
Continuous testing In PHP
Continuous testing In PHP
Hardening Drupal setup
Hardening Drupal setup
Grâce aux tags Varnish, j'ai switché ma prod sur Raspberry Pi
Grâce aux tags Varnish, j'ai switché ma prod sur Raspberry Pi
My name is Trinidad
My name is Trinidad
Introduzione ai test automatici con PHPunit
Introduzione ai test automatici con PHPunit
Centos config
Centos config
Symfony Under the Hood
Symfony Under the Hood
Phpunit testing
Phpunit testing
DEF CON 27 - MICHAEL LEIBOWITZ and TOPHER TIMZEN - edr is coming hide yo sht
DEF CON 27 - MICHAEL LEIBOWITZ and TOPHER TIMZEN - edr is coming hide yo sht
Zend Framework 2 - PHPUnit
Zend Framework 2 - PHPUnit
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules And Tools - PHPTek 11 Version
Debugging: Rules & Tools
Debugging: Rules & Tools
How to create a secured multi tenancy for clustered ML with JupyterHub
How to create a secured multi tenancy for clustered ML with JupyterHub
Php version 5
Php version 5
Symfony2 for Midgard Developers
Symfony2 for Midgard Developers
Fighting Fear-Driven-Development With PHPUnit
Fighting Fear-Driven-Development With PHPUnit
The Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/Press
Último
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Orbitshub
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Orbitshub
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Zilliz
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Architecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
UiPathCommunity
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
WSO2
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
apidays
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Dropbox
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Bhuvaneswari Subramani
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Christopher Logan Kennedy
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
The Digital Insurer
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Zilliz
Último
(20)
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Architecting Cloud Native Applications
Architecting Cloud Native Applications
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Elevate Developer Efficiency & build GenAI Application with Amazon Q
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
Symfony2. Unit testing by Vadim Kharitonov
1.
SYMFONY2. PHPUNITVadim Kharitonov
2.
3.
1.INSTALLATION
4.
1.1OSPACKAGE # apt-get install
phpunit
5.
1.2PHPUNIT.PHAR $ wget https://phar.phpunit.de/phpunit.phar $
chmod +x phpunit.phar
6.
1.3COMPOSER $ ./composer.phar require 'phpunit/phpunit=4.1.*'
7.
1.4PEAR # pear config-set
auto_discover 1 # pear install pear.phpunit.de/PHPUnit
8.
2.LET'SBATTLE
9.
2.1ENTITY
10.
ENTITYUSER
11.
TESTSENTITYUSERTEST
12.
2.2REPOSITORY
13.
COMPOSER.JSON
14.
APPKERNEL
15.
CONFIG_TEST.YML
16.
REPOSITORYUSERREPOSITORY
17.
TESTSREPOSITORYUSERREPOSITORY TEST
18.
TESTSREPOSITORYFIXTURESLOADU SERDATA
19.
2.3CONTROLLER
20.
CONTROLLERDEMOCONTROLLER
21.
TESTSCONTROLLERDEMOCONTROLL ERTEST
22.
2.4CONSOLECOMMANDS
23.
COMMANDHELLOWORLDCOMMAND
24.
TESTSCOMMANDHELLOWORLDCOM MANDTEST
25.
2.5FORMS
26.
FORMUSERTYPE
27.
TESTSFORMUSERTYPETEST
28.
2.6EXTENSIONS
29.
DEPENDENCYINJECTIONCONFIGURAT ION
30.
DEPENDENCYINJECTIONACMEDEMOE XTENSION
31.
TESTSDEPENDENCYINJECTIONACME DEMOEXTENSIONTEST
32.
2.7EVENTLISTENERS
33.
EVENTLISTENERSUSERNOTIFIERLISTE NER
34.
EVENTSUSEREVENT
35.
RESOURCESCONFIGSERVICES.XML
36.
TESTSEVENTLISTENERSUSERNOTIFIE RLISTENERTEST
37.
2.8TWIGEXTENSIONS
38.
RESOURCESCONFIGSERVICES.XML
39.
TWIGEXTENSIONSQREXTENSION
40.
TESTSTWIGEXTENSIONSQREXTENSI ONTEST
41.
TESTSTWIGEXTENSIONFIXTURESFI LTERSSQR.TEST
42.
TWIGEXTENSIONUSEREXTENSION
43.
TESTSTWIGEXTENSIONUSEREXTEN SIONTEST
44.
3.CODECHARACTERISTICS What percentage of
the code coverage do u have?
45.
3.1.CODECOVERAGE
46.
$ bin/phpunit -c
app --coverage-text
47.
$ bin/phpunit -c
app --coverage- html=../report
48.
3.2PHPCOPY/PASTE DETECTOR $ wget https://phar.phpunit.de/phpcpd.phar $
chmod +x phpcpd.phar $ ./phpcpd.phar --exclude="*Test" src
Descargar ahora