Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Integration Tests #4

Merged
merged 1 commit into from
Apr 5, 2023
Merged

Integration Tests #4

merged 1 commit into from
Apr 5, 2023

Conversation

olegbespalov
Copy link
Collaborator

@olegbespalov olegbespalov commented Apr 5, 2023

What?

This PR brings the "integration" tests into the extension. It extracts the logic of the demo service that is also a good candidate for the testing and uses the exact proto definition and the scripts we employ in the examples.

The reason is that "integration" tests are usually hard to read, and it's great to have the possibility to run exact same case, just standalone. Apart from that, they test output.

⚠️ The PR contains some commented test cases, they should be uncommented in the branch that will have their implementation. The idea is that this PR will be merged first.

Why?

The tests are essential.

Copy link
Contributor

@codebien codebien left a comment

Choose a reason for hiding this comment

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

LGTM

grpc/tests/cmd_test.go Outdated Show resolved Hide resolved
@olegbespalov olegbespalov force-pushed the feat/tests branch 2 times, most recently from bf43b14 to b56a05b Compare April 5, 2023 11:10
grpc/tests/cmd_run_test.go Outdated Show resolved Hide resolved
This PR brings the "integration" tests into the extension. It extracts
the logic of the demo service that is also a good candidate for the
testing and uses the exact proto definition and the scripts we employ in
the examples.

The reason is that "integration" tests are usually hard to read, and
it's great to have the possibility to run the exact same case, just
standalone. Apart from that, they test output.
@olegbespalov olegbespalov merged commit 1ed18f9 into main Apr 5, 2023
9 checks passed
@olegbespalov olegbespalov deleted the feat/tests branch April 5, 2023 11:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants