##### 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 given targets, with any skipped paths filtered out."""
        return sorted(target for target in targets if target.path not in self.skip_entries)
    def process_errors(self, errors, paths):  
        """Return the given errors filtered for ignores and with any settings related errors included."""
        errors = self.filter_messages(errors)
        errors.extend(self.get_errors(paths))
        errors = sorted(set(errors))
        return errors
    def filter_messages(self, messages):  
        """Return a filtered list of the given messages using the entries that have been loaded."""
        filtered = []
        for message in messages:
            path_entry = self.ignore_entries.get(message.path)
            if path_entry:
                code = message.code if self.code else SanityIgnoreParser.NO_CODE
                line_no = path_entry.get(code)
                if line_no:
                    self.used_line_numbers.add(line_no)
                    continue
            filtered.append(message)
        return filtered
    def get_errors(self, paths):