Comments (4)
Part of what you are looking for is in the README.md file. Steps 1 and 2 are probably missing from README.md and should be added. Step 3 is in the README.md.
- Copy a provider config file from test/configs/mock to test/configs.
- Fill in the credentials for the provider
- run the test using vows
//Vows installed globally
$ vows --spec --isolate test///*-test.js
//Linux/Mac - Vows installed locally
$ ./node_modules/.bin/vows --spec --isolate test///*-test.js
//Windows - Vows installed locally:
$ node_modules.bin\vows.cmd --spec --isolate test///*-test.js
Note: If you only want to test one specific provider you can just list the one provider in test/config/providers.json. Otherwise, you will need to specify credentials in config files for all providers as the tests will all fail.
Note: Any config .json file in test/config is ignored by ,gitignore so your credentials will not be committed.
We should probably add an optional PROVIDER= option to the test command so you can easily specify what provider you want to test.
from pkgcloud.
Yeah definitely there is no info about the point 1 and point 2 on Readme.
And about the PROVIDER= idea, that option should replace the list on test/config/providers.json
?? Using the file work fine for me.
from pkgcloud.
Feel free to merge @cronopio
from pkgcloud.
Actually I was suggesting that if you specify a provider with PROVIDER= option it should override the providers listed in the providers file. It would be nice if we had a easy way to test one provider without having to alter the providers.json file.
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.