Skip to content

Add automated tests for formatting products #442

@tomalec

Description

@tomalec

This is a follow-up from #439

UserDeveloper story

As a developer, I'd like to have automated tests to help me assert the quality of the extension in regards to tracked product data.

Is your feature request related to a problem?

get_formatted_product is not covered by tests

How to reproduce the problem

Describe the solution you'd like

We could add PHP unit tests to check get_formatted_product for simple, variable and bundled products.
We can also consider adding E2Es to somewhat test Block-based events' data.

Describe alternatives you've considered

Technical

Acceptance criteria

Unknowns

Out of bounds/rabbit holes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions