runnables.scm

 1; Macros `describe`, `test` and `property`.
 2; This matches the ExUnit test style.
 3(
 4    (call
 5        target: (identifier) @run (#any-of? @run "describe" "test" "property")
 6    ) @_elixir-test
 7    (#set! tag elixir-test)
 8)
 9
10; Modules containing at least one `describe`, `test` and `property`.
11; This matches the ExUnit test style.
12(
13    (call
14        target: (identifier) @run (#eq? @run "defmodule")
15        (do_block
16            (call target: (identifier) @_keyword (#any-of? @_keyword "describe" "test" "property"))
17        )
18    ) @_elixir-module-test
19    (#set! tag elixir-module-test)
20)