Comments (4)
This of course here is somewhat related to #5
from furoshiki.
On 24.06.2013 12:00, Tobias Pfeiffer wrote:
The tests seem to make real HTTP requests, which is not always the
best way to handle things. Maybe we should think about using something
like the vcr/vcr gem.—
Reply to this email directly or view it on GitHub
#4.What service is it calling? I've worked with VCR before, it's pretty
cool but if the interactions aren't too complex I prefer to write a
test/mock service.
from furoshiki.
Well in that case it is downloading a huge ass zip file... see #5 - maybe for tests we should take that from the local file system (I think it does so after the first test run) however that's not so cool for Travis.
On the other hand the real request is also cool, as it makes us notice if the URL is broken during test runs... so umm as always lots of viable options :-)
from furoshiki.
What would I do without you two to keep me honest? :)
I'd like to find some solution that does test the whole process end-to-end, but that maybe allows us to skip the actual download on Travis runs. As we add packaging options, the number of potential downloads will increase.
Maybe that end-to-end spec would be something we run locally before pushing to Travis, but not on Travis? We could also have a spec that checks for the existence of the necessary URLs without downloading files (HEAD requests?). This would still require the network, but not much, and it's a nice documentation of the URLs we need to be available.
I don't know enough about Travis to propose a solution for handling that large file. It seems like if we need to use a file, we will have to download it, unless Travis offers us a place to host it.
from furoshiki.
Related Issues (12)
- Upgrade rubyzip HOT 1
- Shoes gems not bundled in jar after the big gem bust-out HOT 7
- JavaAppLauncher for OSX app does not start correctly HOT 11
- Deprecations warning from RSpec
- Release 0.3.1 HOT 1
- Windows app package only works in directory HOT 1
- Add frozen_string_literal across project HOT 1
- Find latest template for OS automatically
- Keep the shoes-app-template as part of furoshiki/separate gem? HOT 7
- Take a look at jbundler
- Packaged apps are really big HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from furoshiki.