Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Write tests for functions that require API access #30

Open
benlk opened this issue Jul 5, 2016 · 0 comments
Open

Write tests for functions that require API access #30

benlk opened this issue Jul 5, 2016 · 0 comments

Comments

@benlk
Copy link
Contributor

benlk commented Jul 5, 2016

Most of these functions have stubbed tests, and are all related to pushing and pulling.

The problems with these tests are:

  • TravisCI.org needs API credentials that it can use. These can be stored as environment variables in a number of ways, but we'll need to provide a way for the plugin to copy the environment variables for the API creds into the database as a part of the test bootstrapping.
  • The Travis server running the tests needs to have its IP address whitelisted. We might be able to do this by whitelisting a range of IP addresses in the ACL so that we can write tests that communicate with the API.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant