Courses

Advanced Laravel Testing

3 Last Testing Tips Before You Leave

avatar

Would love to see something around testing livewire added + Laravel Dusk with real examples.

avatar

Thanks for the comments. I didn't add anything about Livewire testing because it's literally all in their docs, nothing more to add to here: https://laravel-livewire.com/docs/2.x/testing

With Dusk, the problem is its installation and configuration, so I would have spent majority of video time just on that. Also, my personal opinion is that Dusk is not 100% reliable, it's better to test the data and the logic than a walkthrough where you depend on a browser.

avatar

What does the $this->fail(...) method does?

avatar

Well, forces the test to fail, manually.

avatar
You can use Markdown
avatar

Thank you, great course.

Would like to see another course regarding how to use the mockery framework https://docs.mockery.io efficiency in laravel with examples, because it is quite popular for mocking.

👍 2
avatar

It's a too niche topic, for now not planning that one, sorry.

avatar
You can use Markdown
avatar

Great efforts. Thank you

avatar
You can use Markdown
avatar
You can use Markdown