exvcr
exvcr copied to clipboard
Support `mix vcr.check --include mytag` ?
mix vcr.check runs the mix test task to verify which cassette are used in tests, and from the documentation, we can pass the test filename. However it seems the filters are not supported.
In my setup I have an alias excluding some tests from the default mix test task, so I can run them explicitly when passing cli arguments for filters, with mix test --include integration for instance. So currently mix vcr.check cannot check cassette usage for part of my tests.
I would naively expect mix vcr.check --include integration to run tests marked with the :integration tag
@tag :integration
test "my test" do
# smthg dependent on real world things
end
Just like mix test --include integration does.
Same goes for --exclude --only... Or maybe there is another way to go about this ?