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

Expose some premade mocking tools #51

Open
giovannic opened this issue Feb 17, 2021 · 0 comments
Open

Expose some premade mocking tools #51

giovannic opened this issue Feb 17, 2021 · 0 comments
Labels
enhancement New feature or request small We have estimated that the issue should be one of the quicker fixes (1 point)

Comments

@giovannic
Copy link
Member

Clients want to mock Variables so that they can put values and test updates. Like so:

my_variable <- mock_double(rep(0, 4))
mockery::expect_args(
    my_variable$queue_update,
    1,
    expected_value,
    expected_index
)
@giovannic giovannic added enhancement New feature or request small We have estimated that the issue should be one of the quicker fixes (1 point) labels Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request small We have estimated that the issue should be one of the quicker fixes (1 point)
Projects
None yet
Development

No branches or pull requests

1 participant