Full Stack Radio

72: Taylor Otwell - Testing Laravel Applications


Listen Later

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
...more
View all episodesView all episodes
Download on the App Store

Full Stack RadioBy Adam Wathan

  • 4.7
  • 4.7
  • 4.7
  • 4.7
  • 4.7

4.7

179 ratings


More shows like Full Stack Radio

View all
BeardyCast: гаджеты и медиакультура by 🧢 Kepka Production

BeardyCast: гаджеты и медиакультура

122 Listeners

The Stories of Mahabharata by Sudipta Bhawmik

The Stories of Mahabharata

872 Listeners

CodeNewbie by CodeNewbie

CodeNewbie

574 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

621 Listeners

The Jordan B. Peterson Podcast by Dr. Jordan B. Peterson

The Jordan B. Peterson Podcast

34,045 Listeners

Up First from NPR by NPR

Up First from NPR

56,180 Listeners

Honestly with Bari Weiss by The Free Press

Honestly with Bari Weiss

8,695 Listeners

The Rest Is Classified by Goalhanger

The Rest Is Classified

969 Listeners