Work on macro binding generation, some cleanup needed, rename runner to plugin
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
query = [[(
|
||||
(attribute_item
|
||||
(meta_item
|
||||
(identifier) @test)) @attribute
|
||||
.
|
||||
(function_item
|
||||
name: (identifier) @name) @funciton
|
||||
)]]
|
||||
|
||||
function run_test(name)
|
||||
local command = 'cargo test -- ' .. name
|
||||
local openPop = assert(io.popen(command, 'r'))
|
||||
local output = openPop:read('*all')
|
||||
openPop:close()
|
||||
return output
|
||||
end
|
||||
Reference in New Issue
Block a user