neotest-go
neotest-go copied to clipboard
feature: ability to find the test associated to an actual function
Hi,
it would be handy to support calling run() from an actual Function implementation, and let neotest-go find its test, so we can run the test without having to find the TestFunction first.
I think it is on plugin, neotest itself, than on an adapter, because plugin provides and interface, adapter just follows it
Couldn't the "nearest" method be used? In a sense, that's the nearest test
I believe those mechanics are under neotest, because it is not specific to Go, nearest test is common thing for any language and respectively should be covered by neotest, not neotest-go