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

Ability to focus on some tests... #55

Closed
ijcd opened this issue Nov 16, 2016 · 3 comments
Closed

Ability to focus on some tests... #55

ijcd opened this issue Nov 16, 2016 · 3 comments

Comments

@ijcd
Copy link

ijcd commented Nov 16, 2016

It would be nice if we could focus on some tests for a brief time:

@tag wip
test "should do foo" do
...
end

Ideally it would only run tests marked with some tags (if present) otherwise it should fall back to running everything as it normally does.

@lpil
Copy link
Owner

lpil commented Nov 17, 2016

This would be a feature of ExUnit rather than this project, no?

@ijcd
Copy link
Author

ijcd commented Nov 18, 2016

It could be implemented there, but it might be simpler to have something like this in test.watch:

  config :mix_test_watch,
    tasks: [
      ["test --only wip", stop_on_failure: true],
      "test",
      "credo",
      "dialyzer",      
    ]

Something like this would allow for varying workflows.

@lpil
Copy link
Owner

lpil commented Nov 20, 2016

I think this should be an ExUnit feature.

@lpil lpil closed this as completed Nov 20, 2016
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

2 participants