Better and Faster: TDD-ing a Ride-Hailing Application w/PHPUnit, Symfony, and Doctrine

Chris Holland (19.Apr.2018 at 09:00, 3 hr )
Workshop at Longhorn PHP Conference 2018 (English - US)

Rating: 5 of 5

To get ready to follow-along the tutorial, please complete the "Initial Setup":

https://github.com/elchris/kata_tdd_php_symfony/blob/master/README.md

Imagine building an application without having to mess with a Web Browser, a REST client or a MySQL client. What if you could build full-blown functionality with realistic data operations within the comfort of a Unit Test Harness?

What if this meant shipping code earlier and more frequently than you ever have before?

Building upon concepts outlined in this talk: http://bit.ly/tdd-talk-2 , and leveraging an evolving “Kata” for building a “Ride-Hailing Application”, this exercise will walk thru a rapid-development example from a “clean-slate” Symfony3 project, with just enough bootstrapping to enable Test-Driven Development with PHPUnit & Doctrine.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= one plus eight

Comments

Rating: 4 of 5

20.Apr.2018 at 16:16 by Chuck McLellan (3 comments) via Web2 LIVE

The live demonstration of TDD was awesome. I was following along on my own laptop. I'm familiar with TDD but that was probably the first ever hands on experience. Due to the nature of TDD though, at one point I was getting a syntax error with my Doctrine docblock. This made it impossible to follow along, but it was still extremely valuable to watch Chris work through the process. My number one piece of advice is to be more conscious about switching to presenter mode!

Rating: 5 of 5

21.Apr.2018 at 15:06 by Abinadi Ayerdis (1 comments) via Web2 LIVE

Switching in and out of presenter mode was rough, but a really nice walk through of TDD.

Rating: 4 of 5

23.Apr.2018 at 18:27 by Donald Scott Brown (10 comments) via Web2 LIVE

Really enjoyed the talk, wished I could of followed along on my laptop, but had issues spinning up / building the appropriate Docker container.

One thought would be to have a Dockerfile in GIT that could be pulled down or send he Spec's out a week or more in advance. Since most of us probably brought our work machines, adding / modifying our work test environments not always ideal.

The talk also made me more excited to site thru the Codeception talk. We currently use Sahi and Behat for all our Testing.

Speaker comment:

25.Apr.2018 at 13:22 by Chris Holland (13 comments) via Web2 LIVE

Big thanks for all of your constructive feedback. It's immensely helpful.

Speaker comment:

25.Apr.2018 at 13:40 by Chris Holland (13 comments) via Web2 LIVE

I just added links to the tests/AppBundle and src/AppBundle folders of the "demo-run-8" branch which has all of the code I wrote during the tutorial.

Rating: 5 of 5

25.Apr.2018 at 15:13 by Hunter Skrasek (1 comments) via Web2 LIVE

A great tutorial, with easy to follow examples of a real world example. Literally used some of the technique taught during this tutorial at work today.

© Joind.in 2018