Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End to end testing #947

Open
rtsao opened this issue Jun 18, 2019 · 3 comments

Comments

@rtsao
Copy link
Contributor

commented Jun 18, 2019

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 octokit/webhooks.js#7)

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

@issue-label-bot

This comment has been minimized.

Copy link

commented Jun 18, 2019

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

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

@gr2m

This comment has been minimized.

Copy link
Contributor

commented Jun 19, 2019

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
📼 Slack app testing companion - Record and Replay your HTTP requests, both incoming and outgoing - slackapi/steno
@stale

This comment has been minimized.

Copy link

commented Aug 18, 2019

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.

@stale stale bot added the wontfix label Aug 18, 2019

@gr2m gr2m added the pinned label Aug 18, 2019

@stale stale bot removed the wontfix label Aug 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.