minitest-ci
minitest-ci copied to clipboard
doesn't apply to system tests
bundle exec rails test:system --ci-report --ci-dir=~/test-results
invalid option: --ci-report
I spent some time (too long...) investigating this yesterday. bin/rails test
doesn't hit rake, it's intercepted by Rails' command runner which has a permissive option parser. bin/rails test:system
falls back to rake which doesn't allow you to pass non-rake arguments to its option parser. You need to pass TESTOPTS="--ci-dir=tmp/reports" as an environment variable instead as described in the Readme.