ct_get_mode: Set or query the mocking status of the current test

Description Usage Details Value

Description

Note that these settings only apply to the current test. Other test cases are always mocked.

Usage

1

Details

ct_get_mode queries the current mode.

ct_set_mode sets the current mode.

Modes:

Value

ct_get_mode returns "mock", "nomock" or "record".


r-lib/httrmock documentation built on May 14, 2019, 2:33 p.m.