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

Description Usage Details Value

View source: R/current-test.R

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".


gaborcsardi/httrmock documentation built on Sept. 29, 2018, 7:55 a.m.