Working Temporal unit tests examples?

Is there a code example of how to write unit tests with Temporal Go SDK and some sort of database? :eyes:
I’ve seen a small example in the docs but wasn’t able to understand it enough to make it work, unfortunately. Would love any pointers on where to search!

Most Go samples include unit tests. For example parallel workflow test.

1 Like

Thank you! And are there any resources I can find on how to integrate Temporal testing into integration tests?

It depends on your definition of integration tests. The most basic ones can run against a local version of a service running through docker-compose. The real end to end ones usually rely on a staging cluster deployed to your infrastructure.