3.79 out of 5
3.79
7 reviews on Udemy

Test Driven Development(TDD) with Laravel – Trust but Verify

This is a beginner tutorial and a crash course on TDD with laravel to help you get up to date with the TDD concept
Instructor:
Dave Partner
54 students enrolled
Be able to build laravel apps the TDD way
Understand general concepts of test driven development and be able to answer questions around it
Understand PHP Unit
Understand difference between unit testing and feature testing
Start a career in code testing

As a PHP developer, you may use the Test-Driven Development (TDD) technique to develop your software by writing tests. Typically, TDD will divide each task of the development into individual units. A test is then written to ensure that the unit behaves as expected.
Test driven development is a concept usually used in standard projects that many software developers surprisingly don’t know.

Every project that uses Test-Driven Development follows three simple steps repeatedly:

  • Write a test for the next bit of functionality you want to add.
  • Write the functional code until the test passes.
  • Refactor both new and old code to make it well structured.

Continue cycling through these three steps, one test at a time, building up the functionality of the system. Testing will help you to refactor, which allows you to improve your design over time and makes some design problems more obvious.

The tests that contain small individual components are called unit tests. While unit tests can be carried out independently, if you test some of the components when they are integrated with other components, you are doing integration testing. The third kind of testing is test stubs. Test stubs allow you to test your code without having to make real calls to a database.
Join me in this course as I expose you to whole new world of programming.

Introduction

1
Introduction
2
install and setup laravel
3
unit tests vs feature tests
4
How to run tests
5
create models, migrations and tests
6
setup sqlite db
7
write first test
8
test database store
9
displaying errors with PHPunit
10
create controller and action
11
debugging tests
12
test for user authentication.
13
create dummy users
14
Bonus
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
3.8
3.8 out of 5
7 Ratings

Detailed Rating

Stars 5
3
Stars 4
0
Stars 3
3
Stars 2
1
Stars 1
0
bd5e082e620c087f4e4ce17bce8dd864
30-Day Money-Back Guarantee

Includes

1 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion