Skip to content

Allow $_dataName in TestDoxFormatter #6534

@Crell

Description

@Crell

When using #[TestDox('string here')] with a data provider, it's possible to reference $_dataName to get the name of the dataset.

When using #[TestDoxFormatter('someMethod')] with a callback, there is no way to access the dataset name. Only the parameters.

It would be helpful (and complete the feature) if $_dataName could be made available somehow. Perhaps a magic param name detected by reflection?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions