connorshea / vscode-ruby-test-adapter

A Ruby test adapter extension for the VS Code Test Explorer
https://marketplace.visualstudio.com/items?itemName=connorshea.vscode-ruby-test-adapter
MIT License
83 stars 50 forks source link

invalid option: -R #63

Open kgbsmurf opened 3 years ago

kgbsmurf commented 3 years ago

Your environment

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!