Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
StyleTest
makes no HTTP requests but is a functional test
Proposed resolution
Convert StyleTest
into a Kernel test
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A
Comment | File | Size | Author |
---|---|---|---|
#2 | 3041801-2.patch | 7.63 KB | claudiu.cristea |
Comments
Comment #2
claudiu.cristeaThis patch decreases the locally test run from 21.2 to 5.2 seconds.
Comment #3
LendudeNice clean up and conversion.
Looked at the before and after and I see no loss of coverage.
Comment #4
alexpottCommitted and pushed a07965a62e to 8.8.x and 3759538d43 to 8.7.x. Thanks!
As a test only change backported to 8.7.x - I discussed backporting test-only changes with @catch (as a release manager).
Also decided to start crediting @Lendude for reviewing all of these issues.