Skip to content

Commit

Permalink
tools
Browse files Browse the repository at this point in the history
  • Loading branch information
vikstrous committed Feb 16, 2024
1 parent d910b61 commit f28e3c8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,11 @@ Queries and updates:
* Return the right types
* Registered functions match the right type signature

Tools:
* Plumbing for fixture based tests with namespace safety checks
### Tools

There are two functions in this library that make it easy to write fixture based replyabaility tests for your tstemporal workflows and activities.
See `example/main_test.go` for an example of how to use them.
```go
func GetWorkflowHistoriesBundle(ctx context.Context, client *tstemporal.Client, w *tstemporal.WorkflowWithImpl) ([]byte, error)
func ReplayWorkflow(historiesBytes []byte, w *tstemporal.WorkflowWithImpl) error
```

0 comments on commit f28e3c8

Please sign in to comment.