##### 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.
"""Return the collection prefix or an empty string if not a collection."""
        if self.collection:
            return self.collection.prefix
        return ''
    @property
    def module_path(self):  
        """Return the path where modules are found, if any."""
        return self.plugin_paths.get('modules')
    @property
    def module_utils_path(self):  
        """Return the path where module_utils are found, if any."""
        return self.plugin_paths.get('module_utils')
    @property
    def module_utils_powershell_path(self):  
        """Return the path where powershell module_utils are found, if any."""
        if self.is_ansible:
            return os.path.join(self.plugin_paths['module_utils'], 'powershell')
        return self.plugin_paths.get('module_utils')
    @property
    def module_utils_csharp_path(self):  
        """Return the path where csharp module_utils are found, if any."""
        if self.is_ansible:
            return os.path.join(self.plugin_paths['module_utils'], 'csharp')
        return self.plugin_paths.get('module_utils')
class CollectionDetail: