Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't apply to system tests #27

Open
maysam opened this issue Feb 17, 2020 · 1 comment
Open

doesn't apply to system tests #27

maysam opened this issue Feb 17, 2020 · 1 comment

Comments

@maysam
Copy link

maysam commented Feb 17, 2020

bundle exec rails test:system --ci-report --ci-dir=~/test-results

invalid option: --ci-report

@thomas-mcdonald
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants