Comments (10)
@cronopio ping.
from pkgcloud.
@fearphage That's a good question. I think the best approach is to breakup the tests in test/common
into more granular suites that we can compose for different services.
from pkgcloud.
Then we can have the test runner only run your tests for Rackspace
from pkgcloud.
The problem I see with that is that someone now has to maintain configuration for tests. That's suboptimal.
When X implements feature Y for Amazon, part of that persons work is to update the config to allow that feature to be tested. That seems like a poor experience but I'm not sure how to get around it.
It would be nice to have each batch in storage/base-test
be an individual file. For the time being, we can get by with the following:
if (providerName == 'rackspace') {
suite.addBatch(newHotness);
}
Then when someone implements the hotness, they'll have to add their service to the list of things that should run this test.
from pkgcloud.
@fearphage What do you think about the style used here:
You can add test and enable/disable for specific provider. At least is a temporal solution until the rewrote of common test suite.
from pkgcloud.
I would like to point out how important common
tests are — they are the biggest feature in pkgcloud
The optional newHotness
are ok, but should be considered suboptimal. Having a consistent api is the most important thing imo
from pkgcloud.
For reference, newHotness
is just things that haven't been implemented in other APIs yet although it is on the list. That hotness in my case is batch downloads -- getFiles('containerName', true, callback)
.
And thanks for that @cronopio, that's the route I took for now.
from pkgcloud.
Is this issue still alive?
from pkgcloud.
Hmmm, looked for this code and I think this is it.
I haven't touched it since we stopped talking as it shows.
from pkgcloud.
Long story short: feel free to add tests in tests/rackspace/storage.
from pkgcloud.
Related Issues (20)
- Openstack Object Storage temporary URLs return 401 HOT 7
- Whitesource vulnerability in package extend HOT 1
- Liboneandone is no longer supported HOT 2
- Image upload on Rackspace gets stuck in a loop HOT 7
- This package has a critical vulnerability by including an old version of growl, via mocha. Need to remove this dependency or upgrade dependencies in liboneandone. HOT 2
- Rackspace getNodes(): TypeError: Url must be a string. Received 123456
- How to use getVolume for Openstack in v3? HOT 1
- Possibility to set more s3 client options
- Update Keystone API version to 3 HOT 1
- Azure Storage getfiles issue and fix
- Software
- Program HOT 1
- Security vulnerability for transitive dependency => [email protected]
- TypeError: Cannot read property 'id' of undefined
- #FF5300
- Browser support? HOT 2
- The keyword 'interface' is reserved
- Is it possible to modify "Cache-Control" header of a file in Rackspace CDN?
- Unable to find matching endpoint for requested service
- Create containers with type: public
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 pkgcloud.