Applying TDD with Laravel and PHPUnit Part 2 - Tutorial

preview_player
Показать описание
In this video I demonstrate TDD using code. I take you through running PhpUnit with Laravel, writing our first Functional Test and first Unit test. I use PhpStorm as my IDE and Cmder for my terminal.

Laravel Tutorials:

2 - 3 min Developer Quick Tips Series:

PHP Developer Tutorials:

A Journey To TDD the tutorial series:

Reval Govender
Рекомендации по теме
Комментарии
Автор

Excellent. Very useful for students learning this concept.

ravindra
Автор

First decent presentation which is not paid

+1 from me

pn
Автор

Testing with hard coded numbers sounds inappropriate to me, I think it's more efficient to write a failing test with random numbers first and save the refactor for when that one passes. TDD is not satisfied here

toomaj
Автор

Getting an error call to undefined method visit ()

sadiqmd
Автор

This is more like a integration/acceptance and controller unit testing or an walking skeleton. For pure unit, the testing code should not depend of anyone except php itself, so no framework or events.

scvroin
Автор

I have this "phpunit/phpunit": "~5.7" in composer.json under require-dev

gurubillishrinivasareddy
welcome to shbcf.ru