Skip to main content

Command Palette

Search for a command to run...

Laravel 10 will include a profile option to find slow tests

Updated
1 min readView as Markdown
Laravel 10 will include a profile option to find slow tests
D

A passionate full-stack developer from @ePlus.DEV

Having a slow test suite can be frustrating. Sitting around for 30 seconds or more every time you want to run your tests is not fun. To help combat this, a new feature coming to Laravel 10 is a --profile option that will make it easy for you to find any slow tests in your application.

Below is an example of the output as shared by nuno maduro:

This --profile option should help keep your tests fast and help you either fix the slow tests or to better group them to make it easier not to run them all the time.

Source:

More from this blog

E

ePlus.DEV - Exploring Technology with David Nguyen

1241 posts

A passionate full-stack developer from VIETNAM.