By godotislate on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.5.x
Introduced in version:
11.5.0
Issue links:
Description:
Kernel test classes can provide their own routes with methods using the Symfony\Component\Routing\Route attribute. This can be used in conjunction with drupalGet() in a test method, so that any routes that are used exclusively for the test can be defined within the test class, without the need code is a separate module.
Impacts:
Module developers