Testing framework #373
Replies: 16 comments 4 replies
-
Thanks! I'll try. |
Beta Was this translation helpful? Give feedback.
-
The output is:
|
Beta Was this translation helpful? Give feedback.
-
Interesting I will investigate. |
Beta Was this translation helpful? Give feedback.
-
There a comment in
I guess that the script should check if the required parsers are installed and install them if necessary. |
Beta Was this translation helpful? Give feedback.
-
I pushed a change, to you get an error message when you make test? |
Beta Was this translation helpful? Give feedback.
-
The output remains the same. The new error message wasn't output. Moreover, I guess the user cannot install the parser. The testing framework should do this automatically. |
Beta Was this translation helpful? Give feedback.
-
Note: of course, I have the parser for R installed, but it isn't installed in the |
Beta Was this translation helpful? Give feedback.
-
I removed the .tests folder and getting the same error. At least I can replicate now |
Beta Was this translation helpful? Give feedback.
-
Configuring |
Beta Was this translation helpful? Give feedback.
-
Maybe we don't need this: -- Ensure the R parser is installed before running tests
local parser_path = vim.fn.globpath(vim.o.runtimepath, "parser/r.so")
if parser_path == "" then vim.cmd("TSInstallSync r --quiet --yes") end
-- Verify the installation
parser_path = vim.fn.globpath(vim.o.runtimepath, "parser/r.so")
if parser_path == "" then
error("Tree-sitter R parser is missing! Check the installation.")
end Before installing the parsers, the above code wasn't reached, and it would fail if it were moved above the Lazy setup because |
Beta Was this translation helpful? Give feedback.
-
I will add a CI action to test it. |
Beta Was this translation helpful? Give feedback.
-
We now have a passing test badge! |
Beta Was this translation helpful? Give feedback.
-
Very nice! I updated the selene link which was still pointing to tmp-R-Nvim. |
Beta Was this translation helpful? Give feedback.
-
Why the Github release button is orange? |
Beta Was this translation helpful? Give feedback.
-
I updated another tmp-R-Nvim link in the README.
Maybe the problem is that we didn't release any version yet. We have just tagged a version. |
Beta Was this translation helpful? Give feedback.
-
I also just added testings on both nvim stable and nightly |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have pushed a new branch (https://github.com/R-nvim/R.nvim/tree/tests)
@jalvesaq can you try
make test
and see if it works for you?
Beta Was this translation helpful? Give feedback.
All reactions