##### 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.
plugins.append('ansible_pytest_collections')
        if plugins:
            env['PYTHONPATH'] += ':%s' % os.path.join(ANSIBLE_TEST_DATA_ROOT, 'pytest/plugins')
            for plugin in plugins:
                cmd.extend(['-p', plugin])
        if args.collect_only:
            cmd.append('--collect-only')
        if args.verbosity:
            cmd.append('-' + ('v' * args.verbosity))
        if version in REMOTE_ONLY_PYTHON_VERSIONS:
            test_paths = remote_paths
        else:
            test_paths = paths
        if not test_paths:
            continue
        cmd.extend(test_paths)
        version_commands.append((version, cmd, env))
    if args.requirements_mode == 'only':
        sys.exit()
    for version, command, env in version_commands:
        check_pyyaml(args, version)
        display.info('Unit test with Python %s' % version)
        try:
            with coverage_context(args):
                intercept_command(args, command, target_name='units', env=env, python_version=version)
        except SubprocessError as ex:
            
            if ex.status != 5:
                raise