ExUnit: Allow including/excluding subtags

17 views
Skip to first unread message

Айрат Бадыков

unread,
Oct 11, 2017, 4:23:54 PM10/11/17
to elixir-lang-core
For example,

defmodule Test do
  @moduletag :outer
  
  test "test1" do
  end
  
  @tag :inner
  test "test2" do
  end
end

I want to include test1 and skip test2.  But running 'mix test --include outer --exclude inner' includes both tests.

I think, it's possible to consider precedence of --include/--exclude options or simply just run intercrossing tests.


Reply all
Reply to author
Forward
0 new messages