jfpedroza / neotest-elixir

Neotest adapter for Elixir
MIT License
41 stars 10 forks source link

Tests with shortened do: blocks are not detected #29

Closed jcowgar closed 10 months ago

jcowgar commented 11 months ago

In the example test file below, "test 1" is detected, but "test 2" is not. As soon as you convert "test 2" to a full do/end block, it then is detected. Convert "test 1" to a do: block, and it is no longer detected.

describe "my tests" do
  test "test 1" do
    assert true
  end

  test "test 2", do: assert false
end
jfpedroza commented 10 months ago

This is now supported. Never occurred to me to make a test with an inline body.