{"action":"created","issue":{"url":"https://api.github.com/repos/firstprayer/monsql/issues/11","labels_url":"https://api.github.com/repos/firstprayer/monsql/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/firstprayer/monsql/issues/11/comments","events_url":"https://api.github.com/repos/firstprayer/monsql/issues/11/events","html_url":"https://github.com/firstprayer/monsql/issues/11","id":53297110,"number":11,"title":"Improved Testing","user":{"login":"GochoMugo","id":4707579,"avatar_url":"https://avatars.githubusercontent.com/u/4707579?v=3","gravatar_id":"","url":"https://api.github.com/users/GochoMugo","html_url":"https://github.com/GochoMugo","followers_url":"https://api.github.com/users/GochoMugo/followers","following_url":"https://api.github.com/users/GochoMugo/following{/other_user}","gists_url":"https://api.github.com/users/GochoMugo/gists{/gist_id}","starred_url":"https://api.github.com/users/GochoMugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GochoMugo/subscriptions","organizations_url":"https://api.github.com/users/GochoMugo/orgs","repos_url":"https://api.github.com/users/GochoMugo/repos","events_url":"https://api.github.com/users/GochoMugo/events{/privacy}","received_events_url":"https://api.github.com/users/GochoMugo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-03T07:16:26Z","updated_at":"2015-01-03T15:19:13Z","closed_at":null,"body":"There is an issue with running these tests. The __username__ and __password__ are hard-coded into the test script. This means that if anyone wants to run the tests, they would have do one of the following:\r\n\r\n1. hard-code their credentials into the test script\r\n* create a user with same credentials as specified in the test-script\r\n\r\nNone of this is easy considering changing the test script would mean entirely different changes among collaborators. Also creating a user may not be possible, say on a CI server.\r\n\r\nI suggest we use this approach: allow user running the test to create a credentials file, say named __.credentials.yml__ that will be holds the username and password and that will be added to __.gitignore__ to avoid checking it into git. If the user does __not__ have such a file, particularly CI servers, we try use environment variables instead. "},"comment":{"url":"https://api.github.com/repos/firstprayer/monsql/issues/comments/68597989","html_url":"https://github.com/firstprayer/monsql/issues/11#issuecomment-68597989","issue_url":"https://api.github.com/repos/firstprayer/monsql/issues/11","id":68597989,"user":{"login":"firstprayer","id":2390732,"avatar_url":"https://avatars.githubusercontent.com/u/2390732?v=3","gravatar_id":"","url":"https://api.github.com/users/firstprayer","html_url":"https://github.com/firstprayer","followers_url":"https://api.github.com/users/firstprayer/followers","following_url":"https://api.github.com/users/firstprayer/following{/other_user}","gists_url":"https://api.github.com/users/firstprayer/gists{/gist_id}","starred_url":"https://api.github.com/users/firstprayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firstprayer/subscriptions","organizations_url":"https://api.github.com/users/firstprayer/orgs","repos_url":"https://api.github.com/users/firstprayer/repos","events_url":"https://api.github.com/users/firstprayer/events{/privacy}","received_events_url":"https://api.github.com/users/firstprayer/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T15:19:13Z","updated_at":"2015-01-03T15:19:13Z","body":"Huh...Interesting. I haven't used Travis CI before, but sounds a good idea. \r\n\r\nI'll try to restructure the test script today. This piece of code will be published to the develop branch"}}