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

[Go] e2e test for reflection API #551

Merged
merged 6 commits into from
Jul 12, 2024
Merged

[Go] e2e test for reflection API #551

merged 6 commits into from
Jul 12, 2024

Conversation

jba
Copy link
Contributor

@jba jba commented Jul 7, 2024

Write a Go test that uses the yaml file for reflection API tests
from #549.

Currently, the api/actions test fails because the schemas
are very different between Go and JS.

go/tests/api_test.go Outdated Show resolved Hide resolved
go/tests/api_test.go Show resolved Hide resolved
go/tests/api_test.go Outdated Show resolved Hide resolved
go/tests/api_test.go Outdated Show resolved Hide resolved
go/tests/test_app/main.go Show resolved Hide resolved
Base automatically changed from jba/ref-api-test to main July 11, 2024 12:36
jba added 2 commits July 11, 2024 09:42
Write a Go test that uses the yaml file for reflection API tests
from #549.

Currently, the api/actions test fails because the schemas
are very different between Go and JS.
@jba
Copy link
Contributor Author

jba commented Jul 11, 2024

I skipped the failing test, but that is just hiding some major inconsistencies the JSON schemas for models.

There are also other issues that more tests like this would find, for example #541.

go/tests/api_test.go Outdated Show resolved Hide resolved
tests/test_js_app.yaml Outdated Show resolved Hide resolved
@jba jba merged commit 4d23388 into main Jul 12, 2024
5 checks passed
@jba jba deleted the jba/go-ref-api-test branch July 12, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants