Skip to content

test(server): add socket.io smoke tests and CI job - #957

Merged
PaulHax merged 1 commit into
Kitware:mainfrom
PaulHax:server-smoke-tests
Sep 21, 2026
Merged

PaulHax merged 1 commit into
Kitware:mainfrom
PaulHax:server-smoke-tests

Conversation

@PaulHax

@PaulHax PaulHax commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

The Python server had no automated tests, so dependency bumps like #955 went unchecked.

  • Adds pytest smoke tests that drive examples/example_api.py over socket.io on both the aiohttp and ASGI servers: RPCs, errors, streaming, and the median filter round trip through client stores.
  • Extracts create_app from the CLI so tests serve the same app.
  • Adds a Server Tests workflow that runs on PRs touching server/.

Drive examples/example_api.py through aiohttp and ASGI servers with a
client that answers store calls like the VolView app. Extract create_app
from the CLI so tests serve the same app on a pre-bound socket.
@netlify

netlify Bot commented Sep 21, 2026

Copy link
Copy Markdown

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit eac8ad5
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6ab14ca4738f650008a3b8b7
😎 Deploy Preview https://deploy-preview-957--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PaulHax
PaulHax merged commit ce1ad67 into Kitware:main Sep 21, 2026
9 checks passed
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.

1 participant