You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Express server has 2 main external service integrations:
a keycloak service
an optional redis service.
This makes it particular involving to write tests for functionality that lean more towards integration of these services .e.g testing endpoints that require authentication. We currently try to make use of mocks but this too can get elaborate and easily break when we update underlying libraries.
I propose looking into how we can use testcontainers to provision the above 2 mentioned services as ephemeral containers. we can then use playwright to orchestrate tests that might require user action like logging in via a web platform.
The text was updated successfully, but these errors were encountered:
Express server has 2 main external service integrations:
This makes it particular involving to write tests for functionality that lean more towards integration of these services .e.g testing endpoints that require authentication. We currently try to make use of mocks but this too can get elaborate and easily break when we update underlying libraries.
I propose looking into how we can use testcontainers to provision the above 2 mentioned services as ephemeral containers. we can then use playwright to orchestrate tests that might require user action like logging in via a web platform.
The text was updated successfully, but these errors were encountered: