Skip to content

Maintenance: Create test utilities to ease writing tests for batch processor #1363

@heitorlessa

Description

@heitorlessa

Summary

Batch Processor tests require test data factories with successful and failure data (poison pills). The process to setup, arrange, and assert can be greatly simplified.

In the future, we should remove tests containing the legacy processor (PartialSQSProcessor) too.

Why is this needed?

Reduce operational overhead and cognitive load in writing tests for Batch Processor involving data in mixed forms.

Which area does this relate to?

Batch processing

Solution

No response

Acknowledgment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtTechnical Debt tasks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions