You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will run for me but it will mark tests as failed.
For example: If I run only the method it will ALWAYS fail. If I run the whole file it will ALWAYS pass.
This is regardless of the correctness of the tests.
That is incorrect. If I have my cursor on the line above the method and run the test on the method if will pass but if my cursor is on the method signature it fails.
I just noticed that when you define your table tests like this, neotest-go does not recognize individual tests in the table:
By rewriting them on the form seen in https://github.com/nvim-neotest/neotest-go/blob/main/neotest_go/many_table_test.go fixes the issue. But when you enter a large pre-existing codebase where table tests are defined this way, this is not a helpful workaround as it's hard to motivate refactoring hundreds of tests for this purpose.
I haven't looked into how neotest-go figures out that there are table tests. Treesitter AST inspection?
The text was updated successfully, but these errors were encountered: