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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners