3scale-labs / 3scale_ws_api_for_nodejs

3scale is an API Infrastructure service which handles API Keys, Rate Limiting, Analytics, Billing Payments and Developer Management. Includes a configurable API dashboard and developer portal CMS. More product stuff at http://www.3scale.net/, support information at http://support.3scale.net/.
http://www.3scale.net
MIT License
22 stars 13 forks source link

Tests suite crendentials #24

Closed simonrenoult closed 9 years ago

simonrenoult commented 9 years ago

Hi,

Should we run the project tests (npm test) against our own 3scale application or is there an available application to do so ? I saw that there's one used in Jenkins, can we use it (given you provide the provider_key) ?

Thanks !

vdel26 commented 9 years ago

The credentials defined in the .travis.yml file are what we use for internal testing, that is why the provider_key is private. But you are free to run the tests using your own 3scale credentials: you just need to set the following environment variables:

The first two should correspond to one of the applications in your 3scale account and the provider key the key that identifies you as a 3scale customer (can be found in the "Account" menu on the top right corner of your admin portal).

simonrenoult commented 9 years ago

Thanks, I was not careful enough when I read the README.md and missed the part : Please note that you will first need to set the following environment variables using your own 3scale keys