-
-
Notifications
You must be signed in to change notification settings - Fork 375
Add skip options for test app creation #371
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
Add skip options for test app creation #371
Conversation
Hey there @composerinteralia 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@@ -47,15 +47,12 @@ end | |||
appraise "rails6.0" do | |||
gem "byebug" | |||
gem "capybara", ">= 2.15" | |||
gem "jbuilder", "~> 2.7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove these gems from the other versions as well, if possible. We might speed things up a little for those test runs as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also see if we can get rid of capybara, selenium-webdriver, and web-console, which shouldn't be needed anymore since we are in api mode.
options = "--skip-bootsnap --skip-javascript" | ||
options = | ||
%w[ | ||
--api |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like --api
automatically takes care of --skip-javascript
and --skip-sprockets
, but I sort of like keeping those options here anyway, to make it more explicit what we are trying to leave out. 👍
Excellent! I'm loving this much faster test suite. These test used to 6-12 minutes each, now they are 2-3 minutes each. |
Yeah, it's awesome, I wasn't thought it become so much faster 😅 |
Related to point 1 of this comment