You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use_cassette function is really nice for use with ExUnit, but having an official start_cassette and stop_cassette would make it possible to use in other usecases.
In particular, we want to use ExVcr in end-to-end tests using Cypress, so we'd like to tell our Phoenix server to start using a cassette, then send a bunch of requests / liveview events, then finally stop using the cassette.
It is currently possible to look at the source and write these, but that could break in the future. A sure fire way is to write a process that can call use_cassette and block until desired.
Would start_cassette and stop_cassette be acceptable new functions?
The text was updated successfully, but these errors were encountered:
The
use_cassette
function is really nice for use withExUnit
, but having an officialstart_cassette
andstop_cassette
would make it possible to use in other usecases.In particular, we want to use
ExVcr
in end-to-end tests usingCypress
, so we'd like to tell our Phoenix server to start using a cassette, then send a bunch of requests / liveview events, then finally stop using the cassette.It is currently possible to look at the source and write these, but that could break in the future. A sure fire way is to write a process that can call
use_cassette
and block until desired.Would
start_cassette
andstop_cassette
be acceptable new functions?The text was updated successfully, but these errors were encountered: