Skip to content

Conversation

@chriso
Copy link
Contributor

@chriso chriso commented Jul 2, 2024

While writing a testing guide (https://github.com/dispatchrun/dispatch-go/wiki/Testing-Functions-&-Workflows), I found it was awkward having to manually build a call to the function I was testing, and then having to specify the output type parameter because of type erasure on the call.

I've reworked the test helper so that it's no longer necessary to build a call or to specify the output type.

@chriso chriso self-assigned this Jul 2, 2024
@chriso chriso merged commit 42f61a4 into main Jul 2, 2024
@chriso chriso deleted the simplify-unit-testing branch July 2, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants