Skip to content

Instantly share code, notes, and snippets.

@dwhelan
Last active May 24, 2018 00:38
Show Gist options
  • Save dwhelan/d64055b6c18cb7f6e69f14865dbfa517 to your computer and use it in GitHub Desktop.
Save dwhelan/d64055b6c18cb7f6e69f14865dbfa517 to your computer and use it in GitHub Desktop.
Replicate RSpec "focus" mode with ExUnit
ExUnit.start(
exclude: [:skip], include: [
# Uncomment the line below to only run tests with "@tag :focus"
:focus], exclude: [:test
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment