Skellington-Closet / skellington

:sparkles::skull::sparkles: The skeleton for your bots
MIT License
64 stars 6 forks source link

Integration Tests #7

Closed colestrode closed 7 years ago

colestrode commented 8 years ago

Now that greenkeeper is wired up, it would be great to have some integration tests to protect against breaking changes in the interface of a dep.

One possible strategy would be to have a staging environment and use the Slack API to post messages. We could have a test "echo" plugin that just echos back what it hears in a channel. We could then inspect channel history to ensure the plugins connected successfully and was able to post.

I'm not sure how to integration test inviting a bot to a team, I'm not sure there is an API for that.