Home
Free Premium Articles
Free Premium Courses
New
Home
Free Premium Articles
Free Premium Courses
New
Back to Course
|
Advanced Laravel Testing
CI/CD Fundamentals: Launch Tests Automatically with GitHub Actions
What Do I Mean by "Advanced Laravel Testing"?
CI/CD Fundamentals: Launch Tests Automatically with GitHub Actions
Course Content
Intro
01
What Do I Mean by "Advanced Laravel Testing"?
02
CI/CD Fundamentals: Launch Tests Automatically with GitHub Actions
Available Assertions
03
AssertSee, AssertSeeText and AssertSeeInOrder
04
AssertStatus(200) VS AssertOk(), and Other Statuses
05
AssertInstanceOf
06
AssertStringStartsWith and Other String Assertions
07
API Testing: AssertJson and Other JSON Assertions
08
AssertDatabaseHas or Eloquent AssertModelExists?
09
How to Assert File Downloads?
10
All Assertions List and What If You Don't Find The Right Assertion?
11
Pick Assertions with Right Error Messages
How to Test Different Features
12
Testing for Specific Exceptions
13
How To Test Artisan Commands
14
Testing Eloquent Observers/Attributes
15
How to Test Job Classes
16
HTTP Request with Redirects: Check the FINAL Response
Random Testing Tips
17
Customize Default make:test Templates/Stubs
18
Stop on the First Error, or Skip Certain Tests
19
Response Debugging: Dump and Die
20
setUp, setUpBeforeClass and Parent TestCase
21
View Errors Differently: withoutExceptionHandling()
22
Create a Totally Custom Factory Class
23
Arrange - Act - Assert: Multiple Times in One Method?
Faking and Mocking Classes
24
"Fake" Time: Travel in Time to Reproduce Test Scenarios
25
Testing File Uploads with Storage::fake()
26
Testing Job Dispatching with Bus::fake()
27
Testing Emails with Mail::fake() and Notification::fake()
28
Testing Events with Event::fake()
29
Fake Packages: Excel::fake() Example
30
Fake-Testing 3rd Party External APIs with Http::fake()
31
Fake-Testing 3rd Party External APIs by Mocking Them
32
No Faking: Test 3rd Party External APIs with Sandbox API Keys
Outro / Conclusion
33
3 Last Testing Tips Before You Leave