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

test(engineio): mock http/ws connections and improve integration tests #447

Merged
merged 3 commits into from
Jan 20, 2025

Conversation

Totodore
Copy link
Owner

Motivation

Integration tests are currently done by spawning hyper server and issuing http request on it (which can be later upgraded to ws).
Hence, it's more e2e testing than integration testing by definition.

Solution

Mock http connections and mock ws connections so that we can send request to the EngineioService without actually spawning an http server.

@Totodore Totodore added A-engineioxide Area related to engineioxide T-testing Topic: testing labels Jan 20, 2025
@Totodore Totodore enabled auto-merge (squash) January 20, 2025 11:09
@Totodore Totodore merged commit 1dc49e5 into main Jan 20, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-engineioxide Area related to engineioxide T-testing Topic: testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant