Skip to content

chore: e2e test edgehog -- Gleam#1065

Closed
lusergit wants to merge 4 commits intoedgehog-device-manager:mainfrom
lusergit:push-purvswwnmowv
Closed

chore: e2e test edgehog -- Gleam#1065
lusergit wants to merge 4 commits intoedgehog-device-manager:mainfrom
lusergit:push-purvswwnmowv

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 ab399fd0d4997e7ffff6fe82442fbe95f768a3ec-PR-1065

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+77.4%) to 77.425%

Totals Coverage Status
Change from base Build 20855179735: 77.4%
Covered Lines: 2490
Relevant Lines: 3216

💛 - 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 12 times, most recently from f11fbed to de73d26 Compare December 5, 2025 14:59
@lusergit lusergit force-pushed the push-purvswwnmowv branch 7 times, most recently from 41dca14 to 29357f9 Compare December 10, 2025 15:59
@lusergit lusergit force-pushed the push-purvswwnmowv branch 6 times, most recently from 146fdea to 3980d64 Compare December 15, 2025 10:00
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>
@lusergit
Copy link
Collaborator Author

lusergit commented Jan 9, 2026

Superseded by #1064

@lusergit lusergit closed this Jan 9, 2026
@lusergit lusergit deleted the push-purvswwnmowv branch January 9, 2026 14:38
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