Laravel Testing 101
1h 10mIntermediate2023-01-20
Authors
Ana Lisboa
Web Developer
Course details
An integral part of Laravel development is testing what has been coded. Automated testing is the most reliable form of testing, and one that often causes confusion to the junior developer—especially regarding where to start. In this course, Ana Lisboa guides you through writing tests, testing a Laravel app, and understanding where to start testing and what needs to be tested. She also goes over API testing, test coverage, and more.
Skills covered
LaravelSoftware TestingBack-End Web DevelopmentFull-Stack Web DevelopmentWeb DevelopmentOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Introduction to testing
- 02 - What you should know
- 03 - Course project
- 04 - Access the course files
1. Testing 101
- 05 - What is testing
- 06 - When should you write tests
- 07 - Testing in Laravel - Pest
- 08 - Basic assertions and expectations
- 09 - Setting up
2. Where to Start Testing
- 10 - Analyzing your app
- 11 - Brain dump vs. a steady approach
- 12 - Your first test
3. Testing to Fix a Bug
- 13 - Writing the test case
- 14 - Chasing the bug with front-end testing
4. API Testing
- 15 - Why you should mock external APIs
- 16 - API mocking
- 17 - Writing the API mocking test
5. Diving Deeper into Testing
- 18 - Test coverage
- 19 - When to stop testing
Conclusion
- 20 - What to do next
Related courses
- Accelerating Laravel API Development with AI: From Specification to Testing
- Advanced Laravel
- Laravel 6 Essential Training: Testing, Securing and Deploying Apps
- Advanced Laravel (2019)
- Laravel: Building a CRM with Filament for Laravel
- Laravel 9.0 Essential Training
- Building a Website with Laravel, React.js, and Inertia
- Laravel Essential Training