chore: e2e test edgehog -- Gleam #1065
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
E2E test edgehog -- [Gleam]
The following PR adds a new e2e tool to test edgehog. Starting a painful, yet important task: ensuring things work without human testing.
Integration in the CI
Ideally this tool can be compiled once and run in CI at each backend change. It could test a specific path in the backend in an end to end fashion: it makes a request, expects some side effects and a specific response from the server.
The tool runs each test in parallel, aggregating the result of each test and prompting the user what went wrong where.
Different integration with graphql
libraries for a gleam graphql client are not there yet. Integrating with an existing schema is a bit painful. Instead gleam could have other advantages over rust: