DiscoverNo CompromisesChanging our mind about queues in testing
Changing our mind about queues in testing

Changing our mind about queues in testing

Update: 2023-04-04
Share

Description

We'll admit it: sometimes we change our mind. In this episode, we discuss how we used to setup queues in Laravel tests, and why we changed it.

Show Notes


  • 00:00 Sometimes we change our mind over time

  • 02:00 Changing queue from sync to null in tests

  • 03:45 Feature versus integration tests

  • 04:40 Where do you test job logic?

  • 05:30 White box versus black box testing

  • 07:15 Laravel queue drivers and how faking works

  • 08:55 Why use events at all?

  • 09:30 The new approach is faster too

  • 11:15 Silly bit

Want to make us happy with a random email? Check out our free and paid books on masteringlaravel.io

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Changing our mind about queues in testing

Changing our mind about queues in testing

Joel Clermont and Aaron Saray