mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? Added a `GetFrontendHostPort()` method to the TestServer ## Why? For situations where you want to know the port that the test server is running on outside of typical use of client.Client ## How did you test it? Tested locally ## Potential risks None ## Documentation there is currently no documentation for TestServer aside from inline comments ## Is hotfix candidate? no
The temporaltest package provides helpers for writing end to end tests against a real Temporal server which can be run via the go test command.
Backwards Compatibility
This package must not break Go API backwards compatibility in accordance with semantic versioning. One exception to this policy is the WithBaseServerOptions function, which may have breaking changes in any Temporal server release.
The base configuration (eg. dynamic config values) and behavior of TestServer may also be modified in any release. Such changes should be for the purposes of improving performance or stability for testing scenarios.