They're probably the reason why you're still able to sleep at night after someone decided you had to make some last minute changes. Anyway, tests have made me a better and a more confident developer.

Livewire Pest tests can look like a nice chain of actions and assertions on the Livewire component, which I fancy a lot.

Here is the component: orderCount = Order::count(); } public function render() { return view('livewire.order-dashboard-component'); } public function refreshOrderCount() { $this->orderCount = Order::count(); }} If we want to write a test for this behaviour, we would have to add a new order during the Pest Livewire test chain.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners