72: Taylor Otwell - Testing Laravel Applications
Full Stack Radio | Sep 13 2017 | 00:59:10

Topics include:
How their approaches have changed over time
Feature tests vs. unit tests, when to use each
Testing code that interacts with external services
Using fakes instead of mocks
Contract tests
Testing view data vs. rendered HTML
Sponsors:
Rollbar, sign up at https://rollbar.com/fullstackradio to try their Bootstrap Plan free for 90 days
Codeship
Links:
Test-Driven Laravel, Adam's testing course
Laravel Horizon test suite
Laravel Fakes documentation
"Don't Mock What You Don't Own", Adam's screencast on testing wrappers for external services
"Writing Your Own Test Doubles", Adam's blog post on using fakes instead of mocks
"Preventing API Drift with Contract Tests", Adam's screencast on using traits to create contract tests between fake and real implementations
How their approaches have changed over time
Feature tests vs. unit tests, when to use each
Testing code that interacts with external services
Using fakes instead of mocks
Contract tests
Testing view data vs. rendered HTML
Sponsors:
Rollbar, sign up at https://rollbar.com/fullstackradio to try their Bootstrap Plan free for 90 days
Codeship
Links:
Test-Driven Laravel, Adam's testing course
Laravel Horizon test suite
Laravel Fakes documentation
"Don't Mock What You Don't Own", Adam's screencast on testing wrappers for external services
"Writing Your Own Test Doubles", Adam's blog post on using fakes instead of mocks
"Preventing API Drift with Contract Tests", Adam's screencast on using traits to create contract tests between fake and real implementations
