-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add support for dialers
in invariant testing
#109
Conversation
149b329
to
c70f272
Compare
dialers
in invariant testingdialers
in invariant testing
Before merging this PR, we should update the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Left some comments mostly around using the context type instead of any type.
071d9ad
to
a1c2aeb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
This commit introduces support for custom pre- and post-execution JavaScript functions, called "dialers", in invariant testing. Dialers run before and after public function calls, allowing users to add custom assertions, behaviors, or side effects during execution. Thanks to @moodmosaic for designing this feature in #59 (comment).
This commit adds references for the example dialers file and refines it for correctness, readability, and consistency.
Co-authored-by: Nikos Baxevanis <[email protected]>
Co-authored-by: Nikos Baxevanis <[email protected]>
Co-authored-by: Nikos Baxevanis <[email protected]>
Co-authored-by: Nikos Baxevanis <[email protected]>
Co-authored-by: Nikos Baxevanis <[email protected]>
Co-authored-by: Nikos Baxevanis <[email protected]>
e8a6718
to
d402d7f
Compare
This PR introduces support for custom
pre-
andpost-execution
JavaScript functions, calleddialers
, in invariant testing. Dialers run before and after public function calls, allowing users to add custom assertions, behaviors, or side effects during execution. Thanks to @moodmosaic for designing this feature in #59 (comment). Resolves #59.