Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mix vcr.check --include mytag ? #171

Open
asmodehn opened this issue May 17, 2021 · 0 comments
Open

Support mix vcr.check --include mytag ? #171

asmodehn opened this issue May 17, 2021 · 0 comments

Comments

@asmodehn
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant