Skip to content

Commit

Permalink
Add description for start / stop (#203)
Browse files Browse the repository at this point in the history
Co-authored-by: parroty <[email protected]>
  • Loading branch information
parroty and parroty authored May 12, 2023
1 parent 7366581 commit 15debf0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,22 @@ defmodule ExVCR.Adapter.FinchTest do
end
```

#### Example with Start / Stop

Instead of single `use_cassette`, `start_cassette` and `stop_cassette` can serve as an alternative syntax.

```Elixir
use_cassette("x") do
do_something
end
```

```Elixir
start_cassette("x")
do_something
stop_cassette
```

#### Custom Cassettes

You can manually define custom cassette JSON file for more flexible response
Expand Down

0 comments on commit 15debf0

Please sign in to comment.