Problem/Motivation
Followup to #2296615: Accurately support multiple @groups per test class
#2296615: Accurately support multiple @groups per test class adds the ability for TestDiscovery to catalogue tests by multiple groups.
This means that the Simpletest UI test page needs an update to support these groups.
Proposed resolution
-
Remove the table row grouping from the Simpletest web UI listing. Add a new "Groups" table column +
'data-test-group'
HTML attributes on test rows instead. -
Add a new "Group" select dropdown to the JavaScript-driven instant-search/filter of the table, so the list of tests can be filtered by any group.
-
Use the "select-all" tableselect checkbox to select all tests of an instant-filtered group.
Comments
Comment #2
Mile23Postponed on #2296615: Accurately support multiple @groups per test class
Comment #3
Mile23Adding #2021077: make search also match the test groups on the test overview page as related, since it's a longstanding issue and a good idea.
Comment #4
Mile23Comment #7
joachim CreditAttribution: joachim as a volunteer commentedCould we also support none? #2929197: remove the requirement for @group annotation in all tests
Comment #10
Mile23Achievement unlocked: #2296615: Accurately support multiple @groups per test class is now in, so we can proceed here.
Comment #13
quietone CreditAttribution: quietone as a volunteer commentedTriaging issues in simpletest.module to determine if they should be in the Simpletest Project or core.
This looks like it a simpletest module issue, changing the project.
Comment #14
joachim CreditAttribution: joachim as a volunteer commentedIs this definitely no longer a restriction in 9.x?