generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
ftltest support for PubSub #1598
Comments
Open
Brainstorming things that could be useful:
|
thoughts @alecthomas? |
matt2e
added a commit
that referenced
this issue
Jun 12, 2024
closes #1598 Adds: - By default, disables all subscribers during unit tests - Subscribers can be manually added per unit test - Subscribers can be actual sinks, or ad-hoc ones defined in the test (just define a `func` in the argument) - Check what events were published to a topic - Check what events were consumed by a subscription, and whether an error occured - Allow the unit test to wait for all events to be consumed - Unit tests can publish to external module's topics - And conversely, added a runtime check to disallow publishing to external modules when not in a unit test. fixes #1703
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: