Skip to content

SetStartTime for activity test env #1646

Open
@rrrkren

Description

@rrrkren

Is your feature request related to a problem? Please describe.

TestWorkflowEnvironment supports a SetStartTime method which allows one to set the start time of the workflow during testing. It would be great if such a feature exists for TestActivityEnvironment so similar start time related features can be tested properly.

Describe the solution you'd like
TestActivityEnvironment to support SetStartTime

Describe alternatives you've considered
passing in start time for activity as parameter, but this is not encouraged as it could be imprecise due to worker coordination.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions