vscode-ruby-test-adapter icon indicating copy to clipboard operation
vscode-ruby-test-adapter copied to clipboard

invalid option: -R

Open kgbsmurf opened this issue 3 years ago • 0 comments

Your environment

  • vscode-ruby-test-adapter version: 0.8.0
  • Ruby version: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
  • VS Code version: Version: 1.52.0 (user setup)
  • Operating System: OS: Windows_NT x64 10.0.19041 (Win 10), but running in Docker WSL2 inside the container. uname -a command: Linux 9fe4659d85f3 4.19.104-microsoft-standard #1 SMP Wed Feb 19 06:37:35 UTC 2020 x86_64 GNU/Linux
  • RSpec version: (just using Minitest, no RSpec)

Expected behavior

The list of tests should be populated

Actual behavior

With the default configuration, the output is:

[2020-12-17 02:17:10.861] [INFO] Loading Ruby tests...
[2020-12-17 02:17:10.862] [INFO] Loading Minitest tests...
[2020-12-17 02:17:10.862] [INFO] Getting a list of Minitest tests in suite with the following command: bundle exec rake -R $EXT_DIR vscode:minitest:list
[2020-12-17 02:17:12.123] [ERROR] Error while finding Minitest test suite: Command failed: bundle exec rake -R $EXT_DIR vscode:minitest:list

[2020-12-17 02:17:12.123] [ERROR] Output: START_OF_TEST_JSON{"version":"5.14.1","examples":[....  alot of data..  redacted ....]"]}END_OF_TEST_JSON

invalid option: -R  

minitest options:
    -h, --help                       Display this help.
        --no-plugins                 Bypass minitest plugin auto-loading (or set $MT_NO_PLUGINS).
    -s, --seed SEED                  Sets random seed. Also via env. Eg: SEED=n rake
    -v, --verbose                    Verbose. Show progress processing files.
    -n, --name PATTERN               Filter run on /regexp/ or string.
        --exclude PATTERN            Exclude /regexp/ or string from run.

Known extensions: guard_minitest, rails, pride
        --guard                      Run with guard plugin enabled
    -w, --warnings                   Run with Ruby warnings enabled
    -e, --environment ENV            Run tests in the ENV environment
    -b, --backtrace                  Show the complete backtrace
    -d, --defer-output               Output test failures and errors after the test run
    -f, --fail-fast                  Abort test run on first failure or error
    -c, --[no-]color                 Enable color in the output
    -p, --pride                      Pride. Show your testing pride!

kgbsmurf avatar Dec 17 '20 02:12 kgbsmurf