play package:vcr

Execute an action with the given tape in read mode.
  • Replay interactions that have been recorded earlier.
  • Fail on new interactions that do not yet exist on the tape.
Use play when you want to test against recorded responses while at the same time also deny real HTTP requests for interactions that have not been recorded.