-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passing tests appear to have failed #24
Comments
I suspect that this may be due to this: note:
The problem I have is that SimpleCov is configured in SimpleCov.minimum_coverage 100 But with ruby-lsp-rspec, there doesn't seem to be a way to just run all tests? The code lenses are contextual in a single file. I need a way to run all tests so that my coverage will be at 100% and rspec will exit with code zero. |
So the problem I have with only being able to run the tests from a code lens is that I don't have a way to run ALL the tests in my repo at once, which means my coverage metrics will always fail my tests. Would it be possible to add a way to run all the tests in a repo? |
Is there a way to provide an ENV for the CodeLens to include in the test invocation? Then you could gate the simplecov config with something like |
In a terminal, running:
bundle exec rspec
runs all my tests in./spec
and they all pass.In the Testing pane of VS Code, I run some tests and they pass but appear visibly to have failed. See the image below and note the
1 example, 0 failures
I have this in the
development
group of myGemfile
:The text was updated successfully, but these errors were encountered: