Skip to main content
The Python SDK has a testing harness to test your Restate handlers. This uses Testcontainers to run a Restate Server in a Docker container and provides a client to let you test your Restate handlers.

Setup

Install the package:

Testing handlers

If you have a service as follows:
Then you can test it via: