Closed skmtkytr closed 1 year ago
I'm not following what the issue is. Can you send over some steps to replicate?
When I run the test from Neotest Summary windows with context or describe position, neither the line number nor the file name is passed to the rspec command.
I don't think either can be inferred from the summary window. Or at least they couldn't be when I added that code.
Is it possible now? Open to any PRS to add it in.
Coming to this again, I can run tests from the summary window:
Am I missing something?!
what is problem?
check your branch run on summary @namespace line test outputs.
Can you send me a screenshot of your problem and some Ruby code you're testing? I don't see an issue here
when runnning on @namespace summary-window , run all spec. imo, it is better to have a line specified run here.
...and merged! Thanks for the PR.
https://github.com/olimorris/neotest-rspec/blob/main/lua/neotest-rspec/init.lua#L125
I think, can be this conditions
any reason,
(position.type == "namespace" and vim.bo.filetype ~= "neotest-summary")
to do?