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

testutils: Pass a runtime to the test runner #1010

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

ferglor
Copy link
Collaborator

@ferglor ferglor commented Jan 24, 2025

In this PR, we're updating the testutils.NewRunner function signature to accept an optional runtime parameter. If a nil value is passed, the NoopRuntime is used.

This change will allow test authors to implement their own handlers for:

  • Fetch
  • Logger
  • Emitter

@cedric-cordenier cedric-cordenier merged commit a36a3f7 into main Jan 24, 2025
9 of 11 checks passed
@cedric-cordenier cedric-cordenier deleted the feature/custom-runtime branch January 24, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants