Problem/Motivation
In Drupal core there are lots of testing modules those do not have any description. Its is a good practice to add single line description for each module.
if you are using settings.local.php file and $settings['extension_discovery_scan_tests'] = TRUE; settings is enabled then all testing modules are dispalyed under admin/modules. User interface does not look good with missing description of modules.

Steps to reproduce:
1. Inside settings.php enable include of settings.local.php by removing comments around follwoing lines:
if (file_exists($app_root . '/' . $site_path . '/settings.local.php')) {
include $app_root . '/' . $site_path . '/settings.local.php';
}
2. Make sure $settings['extension_discovery_scan_tests'] is set to TRUE in settings.local.php
3. Now /admin/modules should display all the testing modues as well.
Proposed resolution
Add single description for all testing modules in core.
Remaining tasks
Create Patch.
Review.
Commit.
User interface changes
Display description for all testing modules when $settings['extension_discovery_scan_tests'] settings is enabled.
API changes
N/A
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | reroll_diff_5-20.txt | 16.39 KB | ravi.shankar |
| #20 | 2950031-20.patch | 14.15 KB | ravi.shankar |
| #5 | missing-description-for-testing-modules-2950031-5.patch | 14.9 KB | msankhala |
Comments
Comment #2
msankhala commentedComment #3
msankhala commentedComment #4
msankhala commentedComment #5
msankhala commentedMissed description of 3 testing modules. Here is updated patch.
Comment #6
borisson_This looks like a good idea, but I think we should probably create a coding standards rule to ensure that we don't regress and they are added for all modules?
Comment #7
msankhala commented@borisson_ creating new coding standard rule is a good idea. We should create a new issue for that. Can this issue be moved to RTBC?
Comment #8
msankhala commentedCreated a follow up issue #2969173: Create Coding standard rule to report for missing module/theme description.
Comment #9
borisson_Instead of moving this to rtbc, we should probably postpone this on #2969173: Create Coding standard rule to report for missing module/theme description..
Comment #10
msankhala commentedPostponing this until #2969173: Create Coding standard rule to report for missing module/theme description. get fixed.
Comment #19
spokjeThe sniff #2969173: Create Coding standard rule to report for missing module/theme description. landed in Drupal Core with d
rupal/coderversion 8.3.15 in #3262874: Update Coder to 8.3.15.Unpostponing
Comment #20
ravi.shankar commentedAdded reroll of patch #5 on Drupal 9.5.x.