Skip to main content

How to Test Job Classes

Premium
2:41

The Full Lesson is Only for Premium Members

Want to access all of our courses? (36 h 00 min)

You also get:

61 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Muhammad ishaq avatar

Hi sri, Is there any github repo of this course as well?? I searched but did't find.

Povilas Korop avatar

Sorry, I didn't save any repositories for this course because they were all separate small experiments, not some one project to be saved in one repository.

Mojtaba Darvishi avatar

What if we have a binded services class in handle method? Like the example in Laravel docs In the example we have AudioProcessor $processor in handle method, how can we test this job?

Povilas Korop avatar

I would probably use Mocking in such case. But it depends on the full scenario and all dependencies, can't answer in a short comment.