-
Notifications
You must be signed in to change notification settings - Fork 9
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
Injecting Return Value to Decorated Function #9
Comments
It's also tricky because you'd want to define your argument types in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is kinda like a fixture pattern.
The library is so great. I use it to create a xunit style
setup
andteardown
for my tests. I guess there's, for now, no way to grab the returned value from decorator. Below is what I do:What I, kinda, would like to do (if ever possible):
I can see this may require significant changes in the codebase though.
The text was updated successfully, but these errors were encountered: