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

Automatically enable handlers if they are required for a specific test. #198

Open
jmalloc opened this issue Nov 25, 2020 · 1 comment
Open

Comments

@jmalloc
Copy link
Member

jmalloc commented Nov 25, 2020

Blocked by #197

If a test is found to be "possible" as per #197, we will know which handlers are required in order for it to be possible, so we can enable them automatically.

This would mean you'd only need to use Test.EnableHandlers() when testing projections and integrations that don't produce any events.

@jmalloc
Copy link
Member Author

jmalloc commented Nov 25, 2020

This idea might not be very useful because we wont be able to deduce this information in Prepare() (because we don't know what messages a future Expect() call will care about) but I'd like to explore the idea before dismissing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant