whiteinge/ok.sh

Tests

Closed this issue · 1 comments

The basic (non-GitHub, non-HTTP-request) functionality should be friendly for unit testing. The HTTP requests should be covered by a couple basic integration tests.

I don't think I'll test the actual GitHub-centric functions because there's not a ton of value there if the other things are working right. Plus I'd have to send actual requests against the GitHub API to do so. Feedback welcome.

Tests have been added. I think we will need integration tests that hit live GitHub after all. Will file a separate issue.