-
Notifications
You must be signed in to change notification settings - Fork 79
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
Itetst: Cleanup ExpectedInvocactions #469
Comments
@arajasek @ZenGround0
that would replace
In essence, it gets rid of manual casts in every method, having to call We could get even fancier with a limited amount of macros if we expect hundreds of such tests but IMO this alone would make the ITGs codebase a bit cleaner and easier to read. |
integration_tests/src/expects.rs added a bunch of helper methods that in practise reduce a lot of the noise in tests. The pattern is limited by not handling sub-invocations, though. |
This issue is related and might supersede this one: #1548 ? |
The current expectations lead to a lot of bloat in the tests. It may not be too easy to avoid this, since they need to be fairly flexible, but there's likely some helpers that can be created to simplify this.
The text was updated successfully, but these errors were encountered: