randycoulman / mix_test_interactive

Interactive watch mode for Elixir's mix test. https://hexdocs.pm/mix_test_interactive/
MIT License
73 stars 12 forks source link

Add command to filter by test `@tag :tag` attributes. #66

Open mikowitz opened 1 year ago

mikowitz commented 1 year ago

Adds the t command to the interactive runner.

Usage

t tag1 tag2

will append --only tag1 --only tag2 to the end of the test command being run, ensuring that only tests with @tag :tag1 or @tag :tag2 are run.

Like the p command, the list of tags can be cleared by passing t alone to the interactive runner.

randycoulman commented 1 year ago

@mikowitz Thanks for the contribution! I'm quite busy for the next week or so, but I will review this as soon as I get some free time.

mikowitz commented 1 year ago

@randycoulman sounds good! Thanks for building the bulk of this tool, and for making it so easy to add functionality.