Skip to content

Conversation

@sdobbert
Copy link

@sdobbert sdobbert commented Jul 2, 2025

This adds some smoke test to test if the docker setup is running correctly.

The testcases include:

  • All services are up and running
  • Databse is accessible
  • Keycloak is instantiated
  • Realm is instantiated with expected clients
  • Realm has expected user(s)
  • Login with default GeoServer credentials fails
  • GeoServer has expected workspaces
  • GeoServer has expected layers
  • GeoServer has expected geofence rules
  • GeoServer has expected version
  • Client plugins index.js is accessible and contains expected plugins
  • admin-client-config.js is accessible and contains expected content

The tests can be run with pytest tests/.
Requirements can be installed with pip install -r requirements.txt.
Expected values can be set in the config.yaml.

@sdobbert sdobbert marked this pull request as ready for review July 3, 2025 11:33
Copy link
Member

@dnlkoch dnlkoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is awesome @sdobbert!

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.

3 participants