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

clients/go: Add e2e Go client test #504

Merged
merged 2 commits into from
Feb 18, 2025
Merged

clients/go: Add e2e Go client test #504

merged 2 commits into from
Feb 18, 2025

Conversation

aefhm
Copy link
Contributor

@aefhm aefhm commented Feb 15, 2025

Description

Close #328 by using https://github.com/oasisprotocol/demo-starter-go as a submodule for end-to-end testing. The drawback is that approach is less consistent with current behavior inside examples/ but introduces less code.

Copy link

netlify bot commented Feb 15, 2025

Deploy Preview for oasisprotocol-sapphire-paratime canceled.

Name Link
🔨 Latest commit 49e6125
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-sapphire-paratime/deploys/67b4d810f277ba0008608fae

@aefhm aefhm self-assigned this Feb 15, 2025
@aefhm aefhm added p:2 Priority: nice to have go Pull requests that update Go code client tests Relating to tests integrations labels Feb 15, 2025
@aefhm aefhm force-pushed the xz/328-go-e2e branch 2 times, most recently from 992b575 to 3a9ff41 Compare February 15, 2025 22:03
@aefhm aefhm changed the title Add e2e Go test Add e2e Go client test Feb 15, 2025
@aefhm aefhm changed the title Add e2e Go client test clients: Add e2e Go client test Feb 15, 2025
@aefhm aefhm marked this pull request as ready for review February 15, 2025 22:29
@aefhm aefhm force-pushed the xz/328-go-e2e branch 2 times, most recently from c8ebaf5 to 0ecdb30 Compare February 15, 2025 22:42
@aefhm aefhm changed the title clients: Add e2e Go client test clients/go: Add e2e Go client test Feb 15, 2025
@aefhm aefhm requested a review from matevz February 15, 2025 22:48
Copy link
Member

@matevz matevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your effort. I realized @CedarMist implemented a big chunk of #328 already inside #422 (spinning up sapphire-localnet, writing an e2e test inside clients/go that actually connects to it and runs tests). See my comment below on the next steps.

@aefhm aefhm force-pushed the xz/328-go-e2e branch 4 times, most recently from dcb2c78 to b3268b5 Compare February 17, 2025 16:42
@aefhm aefhm force-pushed the xz/328-go-e2e branch 2 times, most recently from 705cb70 to 24a1e64 Compare February 17, 2025 19:25
@aefhm aefhm requested a review from matevz February 17, 2025 19:25
@aefhm aefhm force-pushed the xz/328-go-e2e branch 2 times, most recently from a3ed6c2 to 76e454f Compare February 18, 2025 04:29
Copy link
Member

@matevz matevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions, otherwise LGTM. Thanks!

@aefhm aefhm force-pushed the xz/328-go-e2e branch 2 times, most recently from b317030 to b7aa5d1 Compare February 18, 2025 18:00
@aefhm aefhm force-pushed the xz/328-go-e2e branch 2 times, most recently from 9bed34f to 1fb7144 Compare February 18, 2025 18:46
@aefhm aefhm merged commit 5633ecb into main Feb 18, 2025
13 checks passed
@aefhm aefhm deleted the xz/328-go-e2e branch February 18, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client go Pull requests that update Go code integrations p:2 Priority: nice to have tests Relating to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: Add e2e tests for Sapphire Go client using sapphire-localnet
2 participants