File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 143143(program
144144 (call
145145 method: (identifier) @_run @name
146- (#any-of? @_run "describe" "context" "test" "it" "shared_examples")
146+ (#any-of? @_run "describe" "context" "test" "it" "its" "specify" "example" "feature" "scenario" " shared_examples" "fdescribe" "fcontext" "fit" "fexample" "focus" "xdescribe" "xcontext" "xit" "xexample" "xspecify" "skip" "pending" "it_behaves_like" "it_should_behave_like" "include_context" "include_examples ")
147147 arguments: (argument_list
148148 .
149149 [
163163; Nested test methods
164164(call
165165 method: (identifier) @_ctx
166- (#any-of? @_ctx "describe" "context" "shared_examples")
166+ (#any-of? @_ctx "describe" "context" "shared_examples" "fdescribe" "fcontext" "xdescribe" "xcontext" )
167167 arguments: (argument_list
168168 .
169169 [
176176 (_
177177 (call
178178 method: (identifier) @_run @name
179- (#any-of? @_run "describe" "context" "test" "it" "shared_examples")
179+ (#any-of? @_run "describe" "context" "test" "it" "its" "specify" "example" "feature" "scenario" " shared_examples" "fdescribe" "fcontext" "fit" "fexample" "focus" "xdescribe" "xcontext" "xit" "xexample" "xspecify" "skip" "pending" "it_behaves_like" "it_should_behave_like" "include_context" "include_examples ")
180180 arguments: (argument_list
181181 .
182182 [
196196; RSpec one-liners
197197(call
198198 method: (identifier) @_ctx
199- (#any-of? @_ctx "describe" "context" "shared_examples")
199+ (#any-of? @_ctx "describe" "context" "shared_examples" "fdescribe" "fcontext" "xdescribe" "xcontext" )
200200 arguments: (argument_list
201201 .
202202 [
209209 (_
210210 (call
211211 method: (identifier) @_run @name
212- (#any-of? @_run "it")
212+ (#any-of? @_run "it" "its" "specify" "example" "fit" "fexample" "focus" "xit" "xexample" "xspecify" "skip" "pending" )
213213 block: (block
214214 body: (block_body
215215 (call
Original file line number Diff line number Diff line change 3838; Examples
3939((call
4040 method: (identifier) @run
41- (#any-of? @run "describe" "context" "it" "its" "specify" "feature" "scenario")
41+ (#any-of? @run "describe" "context" "it" "its" "specify" "example" " feature" "scenario" "fdescribe" "fcontext" "fit" "fexample" "focus" "it_behaves_like" "it_should_behave_like" "include_context" "include_examples ")
4242 arguments: (argument_list
4343 .
4444 (_) @name @RUBY_TEST_NAME )) @_ruby -test
4747; Examples (one-liner syntax)
4848((call
4949 method: (identifier) @run
50- (#any-of? @run "it" "its" "specify")
50+ (#any-of? @run "it" "its" "specify" "example" "fit" "fexample" "focus" )
5151 block: (_) @name @RUBY_TEST_NAME
5252 !arguments) @_ruby -test
5353 (#set! tag ruby-test))
You can’t perform that action at this time.
0 commit comments