##### 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.
continue
                for meta_line in meta_lines:
                    if re.search(r'^ *#.*$', meta_line):
                        continue
                    if not meta_line.strip():
                        continue
                    for hidden_target_name in hidden_role_target_names:
                        if hidden_target_name in meta_line:
                            dependencies[hidden_target_name].add(target.name)
    while True:
        changes = 0
        for dummy, dependent_target_names in dependencies.items():
            for dependent_target_name in list(dependent_target_names):
                new_target_names = dependencies.get(dependent_target_name)
                if new_target_names:
                    for new_target_name in new_target_names:
                        if new_target_name not in dependent_target_names:
                            dependent_target_names.add(new_target_name)
                            changes += 1
        if not changes:
            break
    for target_name in sorted(dependencies):
        consumers = dependencies[target_name]
        if not consumers:
            continue
        display.info('%s:' % target_name, verbosity=4)
        for consumer in sorted(consumers):
            display.info('  %s' % consumer, verbosity=4)
    return dependencies
class CompletionTarget: