Past Meetup

Intoduction to Test-Driven Development with Laravel

This Meetup is past

18 people went

Details

This will be the kickstart of our new series TDD in Laravel.

Speakers

> Raymund Enso

Alternate RVSP

> https://www.facebook.com/events/132350880658411/

Topics

> What is TDD?

> Implementing TDD suggested by Adam Wathan

* What to build first?

- put emphasis why this feature is a priority

* What to test first?

- detail the task step by step

- figure out what is the easiest step

* How to setup the test environment?

- folders setup

- setup phpunit.xml for test

- use DatabaseMigration

- how to create a test file

* What is the mindset for creating a test?

- Arrange = preparing necessary stuffs for the test

- Act = the code is running

- Assert = check if test outcome was meet

* Step by step guide for green

* Wishful thinking for Refactoring

- What is wishful thinking programming

- How to use wishful thinking when Refactoring