Description Usage Details Value
Note that these settings only apply to the current test. Other test cases are always mocked.
1 |
ct_get_mode queries the current mode.
ct_set_mode sets the current mode.
Modes:
nomock turns off mocking. for the current test. You typically want
this while you are writing or extending the test cases. httrmock goes
completely out of the way, when this mode is selected.
record' turns on recording mode. All HTTP responses are recorded in this mode.
mock turns on mocking mode. HTTP requests are not performed,
the recorded responses are replayed. This is the default state after
you have changed the current test.
ct_get_mode returns "mock", "nomock" or "record".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.