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

Add support for spies #552

Open
lkipke opened this issue Sep 25, 2020 · 0 comments
Open

Add support for spies #552

lkipke opened this issue Sep 25, 2020 · 0 comments
Labels
enhancement Any addition to this project's existing capabilities

Comments

@lkipke
Copy link
Collaborator

lkipke commented Sep 25, 2020

Summary

Currently, when you call _brs_.mockFunction it will return a "stub" for the mocked function, so you can keep track of calls and results. It'd be great to also support a spy that preserves the original function implementation, but still keeps track of calls and results.

@lkipke lkipke added the enhancement Any addition to this project's existing capabilities label Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any addition to this project's existing capabilities
Projects
None yet
Development

No branches or pull requests

1 participant