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

feat: set arg expectations on methods #171

Open
3 tasks
crookse opened this issue Oct 20, 2022 · 0 comments
Open
3 tasks

feat: set arg expectations on methods #171

crookse opened this issue Oct 20, 2022 · 0 comments

Comments

@crookse
Copy link
Member

crookse commented Oct 20, 2022

Summary

What:

Test double methods that can set up to return values should have arg expectations defined as well.

Why:

It's common to set up a method like "expect this method to take in this arg and return this value"

Acceptance Criteria

Below is a list of tasks that must be completed before this issue can be closed.

  • Write documentation
  • Write unit tests
  • Write integration tests

Example Pseudo Code (for implementation)

fake.method("blah").withArgs("hello").willReturn("world");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant