Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporal sensitive test support #158

Open
big-andy-coates opened this issue Nov 7, 2022 · 0 comments
Open

Temporal sensitive test support #158

big-andy-coates opened this issue Nov 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@big-andy-coates
Copy link
Member

The output of some tests will depend on the current time, e.g. financial EOD processing, or weekend / public holidays, etc.

For services obtaining the current type via CreekContext#clock we can enhance the system tests to allow the clock to be adjusted to allow testing of such functionality.

A new input type should allow the test to set the clock. Additionally, chose between a test clock that is static or one that will then advance from the set point.

@big-andy-coates big-andy-coates added the enhancement New feature or request label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant