Skip to content

Provide guidance on unit testing orchestrations #160

@anthonychu

Description

@anthonychu

Because of the way Durable JS uses generators, it's not very easy to write tests. #49 has some examples here but they're hard to write.

Wonder if we should publish a library to make this easier. Here's an attempt of an API that works for different test frameworks: https://github.com/anthonychu/test-durable-js-testing/blob/master/__tests__/DurableFunctionsOrchestratorJS.tests.js

Thoughts @ConnorMcMahon @cgillum?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions