YoVDO

Unit Testing by Example

Offered By: PHP UK Conference via YouTube

Tags

PHP UK Conference Courses Software Testing Courses Unit Testing Courses Test-Driven Development Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore unit testing in PHP through practical examples in this 56-minute conference talk from PHP UK Conference 2017. Learn how to transition from manual var_dump debugging to automated testing, starting with basic concepts and progressing to more advanced techniques. Discover strategies for writing effective test cases, improving existing code, and implementing regression tests. Examine real-world scenarios including e-commerce and catalog imports to understand how to apply testing principles. Gain insights on cyclomatic complexity, execution paths, and decision branches to optimize your test coverage. Delve into preemptive debugging techniques and learn how to effectively use mocks for dependencies. By the end of this talk, acquire the skills to confidently implement Test-Driven Development (TDD) while meeting tight deadlines.

Syllabus

Introduction
How to become a testing expert
Testing without automation
First opportunity to test
Safety net
Regression test
Improving existing code
Changing the code
Test both cases
New code
inspect array
rock climbing
ecommerce example
catalog imports example
write less code
some things to consider
use your judgment
how many test cases
cyclomatic complexity
execution paths
decision branches
recap
testing as preemptive debugging
mock dependencies
handling mocks


Taught by

PHP UK Conference

Related Courses

البرمجة الموجهة بالاختبارات المقبولة
Rwaq (رواق)
Desarrollo de Aplicaciones Web: Prueba y Despliegue
University of New Mexico via Coursera
Engineering Maintainable Android Apps
Vanderbilt University via Coursera
Técnicas Avançadas para Projeto de Software
Instituto Tecnológico de Aeronáutica via Coursera
TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera