Skip to content

[TwigComponent] Provide class/trait for testing component #818

Closed
@ker0x

Description

@ker0x

It would be great to provide a ComponentTestCase class or ComponentAssertionTrait trait to help testing component.

I was thinking of something similar to MailerAssertionsTrait so we can:

  • get an instance of the component from its name and parameters
  • assert that the output of the component is similar to an expected value
  • etc ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions