##### SUMMARY

Support collection roles as integration test targets.

Now that https://github.com/ansible/ansible/issues/59462 has been merged, ansible-test can be updated to support running integration test targets that are collection roles.

The planned convention is to look for targets under `roles/test/` and allow use of target-specific plugins from `plugins/{plugin_type}/test/{target_name}/`.

##### ISSUE TYPE

Feature Idea

##### COMPONENT NAME

ansible-test

##### ADDITIONAL INFORMATION

This will allow integration test targets to be written using collections instead of pre-collection roles.
static_aliases = tuple(read_lines_without_comments(aliases_path, remove_blank_lines=True))
        else:
            static_aliases = tuple()
        
        if self.name in modules:
            module_name = self.name
        elif self.name.startswith('win_') and self.name[4:] in modules:
            module_name = self.name[4:]
        else:
            module_name = None
        self.modules = tuple(sorted(a for a in static_aliases + tuple([module_name]) if a in modules))
        
        groups = [self.type]
        groups += [a for a in static_aliases if a not in modules]
        groups += ['module/%s' % m for m in self.modules]
        if not self.modules:
            groups.append('non_module')
        if 'destructive' not in groups:
            groups.append('non_destructive')
        if '_' in self.name:
            prefix = self.name[:self.name.find('_')]
        else:
            prefix = None
        if prefix in prefixes:
            group = prefixes[prefix]
            if group != prefix:
                group = '%s/%s' % (group, prefix)
            groups.append(group)
        if self.name.startswith('win_'):
            groups.append('windows')