Re: [elixir-core:8435] [Proposal] Shorthand to filter tests by multiple line numbers

2019-01-09 Thread José Valim
*Stream of thoughts below.* Can you use only instead? mix test --only line:74 --only line:92 test/potion_web/plugs/persist_request_plug_test.exs My only concern with your feature proposal is that it may lead to wanting to run multiple tests across multiple files and that's a trickier problem.

[elixir-core:8435] [Proposal] Shorthand to filter tests by multiple line numbers

2019-01-09 Thread Devon Estes
Currently, if I want to run only a single test by line number, I can easily do: mix test test/potion_web/plugs/persist_request_plug_test.exs:92 This is parsed in ExUnit as: Including tags: [line: "92"] Excluding tags: [:test] But if I want to only run two tests in a file, I need