Skip to content

Conversation

@lusergit
Copy link
Collaborator

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:

  • better integration in the BEAM: we could poke into the BEAM runtime and verify edgehog properties while testing, This however doesn't seem useful for an end to end test.
  • ?

@coveralls
Copy link

coveralls commented Nov 21, 2025

Pull Request Test Coverage Report for Build f11fbed8fe77227ad269e2fefbb079009fe0bed4-PR-1065

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 75.907%

Totals Coverage Status
Change from base Build c39b387667dd0cedeb2871938e7faf666fa7937d: 0.0%
Covered Lines: 2196
Relevant Lines: 2893

💛 - Coveralls

@lusergit lusergit force-pushed the push-purvswwnmowv branch 10 times, most recently from 4519c31 to b2a5faa Compare November 28, 2025 17:22
@lusergit lusergit force-pushed the push-purvswwnmowv branch 11 times, most recently from 42de3e6 to f11fbed Compare December 5, 2025 14:46
Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
Adds a github action to setup a prod-like edgehog environment and run an end to
end test of the backend.

Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
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.

2 participants