##### 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.
__metaclass__ = type
import abc
import glob
import json
import os
import re
import collections
from .. import types as t
from ..util import (
    ApplicationError,
    SubprocessError,
    display,
    import_plugins,
    load_plugins,
    parse_to_list_of_dict,
    ABC,
    ANSIBLE_TEST_DATA_ROOT,
    is_binary_file,
    read_lines_without_comments,
    get_available_python_versions,
    find_python,
    is_subdir,
    paths_to_dirs,
    get_ansible_version,
)
from ..util_common import (
    run_command,
)
from ..ansible_util import (
    ansible_environment,