Mocking Library for R


[Up] [Top]

Documentation for package ‘mockery’ version 0.2.0

Help Pages

mockery-package R package to make mocking easier
call-expectations Expectation: does the given call match the expected?
expect_args Expectation: does the given call match the expected?
expect_call Expectation: does the given call match the expected?
expect_called Add expectation to a function.
expect_no_calls Expectation: does the given call match the expected?
get_function_source Returns the pure R source code for a given function.
length.mock Create and query a mocked function.
mock Create and query a mocked function.
mockery R package to make mocking easier
mock_args Create and query a mocked function.
mock_calls Create and query a mocked function.
stub Replace a function with a stub.