Skip to content

TestRunner ignores the TestPackage.OutputTargets list #350

Open
@taaaki

Description

When working with a TestPackage, it is possible to add a custom IBenchmarkOutput implementation using the TestPackage.AddOutput function. However, any such custom IBenchmarkOutput implementations are effectively ignored by the TestRunner as it does not include the TestPackage.OutputTargets when constructing the CompositeBenchmarkOutput that is then used by the runner. Based on the summary comment for OutputTargets, this appears to be an accidental omission rather than a design choice.

There is a workaround whereby the TestRunner can be inherited from and the CreateOutput function overridden to produce the CompositeBenchmarkOutput that includes the additional output targets. But this doesn't appear to be the intended approach as far as I can tell.

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