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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using Fake pubsub in tests; use real pubsub. #808

Open
chrisdostert opened this issue Oct 24, 2020 · 0 comments
Open

Stop using Fake pubsub in tests; use real pubsub. #808

chrisdostert opened this issue Oct 24, 2020 · 0 comments

Comments

@chrisdostert
Copy link
Contributor

chrisdostert commented Oct 24, 2020

馃挜 Proposal

Opctl is a distributed, event driven architecture. We currently fake/mock pubsub in tests wherever it's a dependency. The proposal here is to stop faking/mocking it and instead use the real thing.

This will give us better tests that match real world behavior, not fake mocked out behavior.

See this example of where/how we fake it.

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

No branches or pull requests

1 participant