You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just wondering if there is a way to avoid downloading the assets when running tests on something like CircleCI? We're currently caching as much as possible, but a good chunk of our tests look like:
I think if you are using your project dev files for testing then all the downloading is unavoidable and quite necessary (to reproduce the setup and installation process of the project). I'd assume your testing environment also have to install Meteor or other packages as well? IMO all those are essential part of the testing (when against the dev files).
The better way I think is to only test the production bundle, which includes all Meteor related stuff. So the assets package or whatever other large packages only get download once on your development machine, build and bundle the app for CI, then no more downloading needed once in the CI environment. But I think you still have to download all npm packages.
Then the ultimate solution is to have all the dependencies that otherwise require downloading ready in the test environment. For example Meteor and npm both have cache folder storing already downloaded packages to skip downloading. If you could somehow setup your testing environment to start with all the dependencies ready to be copied, then it sure can save some time in the testing process.
Hey,
just wondering if there is a way to avoid downloading the assets when running tests on something like CircleCI? We're currently caching as much as possible, but a good chunk of our tests look like:
Thanks in advance!
The text was updated successfully, but these errors were encountered: