Probot: End to end testing

Created on 19 Jun 2019  ·  3Comments  ·  Source: probot/probot

Has anyone tried end-to-end testing of probot apps using the real GitHub API and https://smee.io/ via some test GitHub App, test organization, test repos (all potentially created/deleted on-demand)?

An obvious drawback is rate limits and network connectivity, but I think this could be a nice alternative to snapshotting or mocking responses (at least until https://github.com/octokit/webhooks.js/issues/7)

I'm thinking about trying to set this up and am wondering if anyone has tried something like this.

pinned question ❓

Most helpful comment

Issue-Label Bot is automatically applying the label question ❓ to this issue, with a confidence of 0.65. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 3 comments

Issue-Label Bot is automatically applying the label question ❓ to this issue, with a confidence of 0.65. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Hey Ryan, not that I know of, but I’d be very interested myself.

We have such a setup for https://github.com/octokit/fixtures, but it only records responses to REST requests, not webhooks.

https://github.com/slackapi/steno was suggested to me to check out at some point but I never had the chance to look into it

Let me know if how I can help :)

GitHub
Fixtures for all the octokittens. Contribute to octokit/fixtures development by creating an account on GitHub.
GitHub
:vhs: Slack app testing companion - Record and Replay your HTTP requests, both incoming and outgoing - slackapi/steno

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dev
devmchakan picture devmchakan  ·  3Comments

zeke picture zeke  ·  4Comments

booninite picture booninite  ·  3Comments

GMouron picture GMouron  ·  4Comments

JasonEtco picture JasonEtco  ·  4Comments