Your environment
vscode-ruby-test-adapter version: last
- Ruby version: 2.7.2
- VS Code version: 1.8.5
- Operating System: MacOS 14.1.2
- RSpec or Minitest version: Minitest 5.20.0
Expected behavior
the test case should be only running once
Actual behavior
twice
[2023-12-12 12:39:07.455] [INFO] A test file has been edited, reloading tests.
[2023-12-12 12:39:07.455] [INFO] Loading Ruby tests...
[2023-12-12 12:39:07.455] [INFO] Loading Minitest tests...
[2023-12-12 12:39:07.455] [INFO] Getting a list of Minitest tests in suite with the following command: bundle exec rake -R $EXT_DIR vscode:minitest:list
[2023-12-12 12:39:07.457] [INFO] Sending autorun event
[2023-12-12** 12:39:07.457] [INFO] Running Ruby tests ["./test/controllers/public/foo_bar_controller_test.rb[12]"]
[2023-12-12 12:39:07.458] [INFO] Getting a list of Minitest tests in suite with the following command: bundle exec rake -R $EXT_DIR vscode:minitest:list
[2023-12-12 12:39:12.320] [DEBUG] Passing raw output from dry-run into getJsonFromOutput.
[2023-12-12 12:39:12.326] [INFO] Running single test: /Users/home/project/test/controllers/public/foo_bar_controller_test.rb:12
[2023-12-12 12:39:12.326] [INFO] Running command: bundle exec rake -R $EXT_DIR vscode:minitest:run 'test/controllers/public/mobile_tokens_controller_test.rb:12'
[2023-12-12 12:39:12.327] [DEBUG] Passing raw output from dry-run into getJsonFromOutput.
....
[2023-12-12** 12:39:12.336] [INFO] Running Ruby tests ["./test/controllers/public/foo_bar_controller_test.rb[12]"]
[2023-12-12 12:39:12.336] [INFO] Running single test: /Users/home/project/test/controllers/public/foo_bar_controller_test.rb:12
[2023-12-12 12:39:12.337] [INFO] Running command: bundle exec rake -R $EXT_DIR vscode:minitest:run 'test/controllers/public//foo_bar_controller_test.rb:12'
This section should include any relevant screenshots, code samples, console output, etc. The more information we have to reproduce the better!
Your environment
vscode-ruby-test-adapterversion: lastExpected behavior
the test case should be only running once
Actual behavior
twice
[2023-12-12 12:39:07.455] [INFO] A test file has been edited, reloading tests.
[2023-12-12 12:39:07.455] [INFO] Loading Ruby tests...
[2023-12-12 12:39:07.455] [INFO] Loading Minitest tests...
[2023-12-12 12:39:07.455] [INFO] Getting a list of Minitest tests in suite with the following command: bundle exec rake -R $EXT_DIR vscode:minitest:list
[2023-12-12 12:39:07.457] [INFO] Sending autorun event
[2023-12-12** 12:39:07.457] [INFO] Running Ruby tests ["./test/controllers/public/foo_bar_controller_test.rb[12]"]
[2023-12-12 12:39:07.458] [INFO] Getting a list of Minitest tests in suite with the following command: bundle exec rake -R $EXT_DIR vscode:minitest:list
[2023-12-12 12:39:12.320] [DEBUG] Passing raw output from dry-run into getJsonFromOutput.
[2023-12-12 12:39:12.326] [INFO] Running single test: /Users/home/project/test/controllers/public/foo_bar_controller_test.rb:12
[2023-12-12 12:39:12.326] [INFO] Running command: bundle exec rake -R $EXT_DIR vscode:minitest:run 'test/controllers/public/mobile_tokens_controller_test.rb:12'
[2023-12-12 12:39:12.327] [DEBUG] Passing raw output from dry-run into getJsonFromOutput.
....
[2023-12-12** 12:39:12.336] [INFO] Running Ruby tests ["./test/controllers/public/foo_bar_controller_test.rb[12]"]
[2023-12-12 12:39:12.336] [INFO] Running single test: /Users/home/project/test/controllers/public/foo_bar_controller_test.rb:12
[2023-12-12 12:39:12.337] [INFO] Running command: bundle exec rake -R $EXT_DIR vscode:minitest:run 'test/controllers/public//foo_bar_controller_test.rb:12'
This section should include any relevant screenshots, code samples, console output, etc. The more information we have to reproduce the better!