Chapter 8. Testing and Debugging Your Application

In this chapter, we will cover the following topics:

  • Generating test
  • Using tests to think through your code TDT (Test Driven Thinking)
  • Using VCR for API testing
  • Getting your code onto GitHub
  • Using Travis to run tests with every push
  • Launching Gulp watch into your workflow
  • Using Mockery to test your controllers
  • Troubleshooting your application

Introduction

It's time for testing. For me, this does not mean TDD and testing every bit of code, but sometimes it is just a tool to help me think through some ideas, can quickly verify something is working as I hoped for. So, the recipes in this section will cover the concepts of what to test, how to get started, mocking, and more.

Get Laravel 5.x Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.