Pest has released version 3.5, which includes support for nested describe blocks in tests. This feature allows users to group related tests inside a parent describe block, providing more flexibility in organizing tests. Prior to this release, describe blocks could only be used at the top level of a test file. The new feature enables users to call describe inside another describe, allowing for cleaner organization of tests. For example, tests for an admin dashboard feature can be grouped together using nested describe blocks. The output of these grouped tests is also well-organized and easy to read. To access this feature, users need to update to the latest version of Pest. The release of Pest 3.5 includes not only nested describe blocks but also other amazing features. The support for nested describe blocks was contributed by Justin Hayes in Pull Request #1295. This update is a significant improvement for Pest users, making it easier to manage and organize tests. The new feature is available in Pest 3.5, which can be updated to immediately.
laravel-news.com
laravel-news.com
Create attached notes ...
