Skip to content

Instantly share code, notes, and snippets.

@thbar
Created May 10, 2016 07:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thbar/82d1b6e68cbbd8533286bf2175007ced to your computer and use it in GitHub Desktop.
Save thbar/82d1b6e68cbbd8533286bf2175007ced to your computer and use it in GitHub Desktop.
How to "focus" (à la RSpec) on one ExUnit test
ExUnit.configure(
exclude: :test, include: :focus,
# SNIP
)
defmodule ExperimentalTest do
use WisecashEx.ConnCase, async: true
@tag :focus
test "run this one" do
end
test "do not run this one" do
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment