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
The nargo test command should be able to run exactly one test in a specific file.
Expected Behavior
Currently, if you have multiple test functions with the same name (e.g. in different files in your project), the nargo test <TEST_NAME> command will run all those tests.
Bug
There should be a way to run exactly one test in a specific file, otherwise running nargo test <TEST_NAME> via the LSP might run multiple tests.
To Reproduce
Create a project with 2 files that have tests with the same name
Aim
The
nargo test
command should be able to run exactly one test in a specific file.Expected Behavior
Currently, if you have multiple test functions with the same name (e.g. in different files in your project), the
nargo test <TEST_NAME>
command will run all those tests.Bug
There should be a way to run exactly one test in a specific file, otherwise running
nargo test <TEST_NAME>
via the LSP might run multiple tests.To Reproduce
> Run Test
as provided by feat(lsp): Add a codelens that runs test when clicked #1835Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: