github-changes icon indicating copy to clipboard operation
github-changes copied to clipboard

tests!!!

Open lalitkapoor opened this issue 11 years ago • 4 comments

create a repo that we can test against? have fixture commit data?

lalitkapoor avatar Feb 25 '14 07:02 lalitkapoor

consider this for tests: https://github.com/nodegit/nodegit

lalitkapoor avatar Feb 28 '14 01:02 lalitkapoor

The most easy way is to create a test repo and a (snapshot) compare. But only if we could get a security safe token (or encrypt it in the ci)

304NotModified avatar Dec 30 '20 23:12 304NotModified

@304NotModified I think we should be able to do that with environment variables - https://circleci.com/docs/2.0/oss/#private-environment-variables. Let me know if you decide to start on some tests - that would be very much appreciated.

lalitkapoor avatar Dec 31 '20 06:12 lalitkapoor

I think we can just use nock to fake api responses from github.

lalitkapoor avatar Jan 15 '21 20:01 lalitkapoor