generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ftltest supports pubsub (#1736)
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
- Loading branch information
Showing
19 changed files
with
1,058 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.