Skip to main content
The Go SDK provides some testing utilities 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. The testing utilities are published as a separate module, so you need to add it to your project:

Testing handlers

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