Build out examples/documentation for unit testing Workflows/activities#1708
Merged
WhitWaldo merged 14 commits intodapr:masterfrom Feb 23, 2026
Merged
Build out examples/documentation for unit testing Workflows/activities#1708WhitWaldo merged 14 commits intodapr:masterfrom
WhitWaldo merged 14 commits intodapr:masterfrom
Conversation
1fc211a to
5936958
Compare
Signed-off-by: Daan Schutte <daan.schutte@icloud.com>
Signed-off-by: Daan Schutte <daan.schutte@icloud.com>
Signed-off-by: Daan Schutte <daan.schutte@icloud.com>
Signed-off-by: Daan Schutte <daan.schutte@icloud.com>
Signed-off-by: Daan Schutte <daan.schutte@icloud.com>
Signed-off-by: Daan Schutte <daan.schutte@icloud.com>
Signed-off-by: Daan Schutte <daan.schutte@icloud.com>
41c5400 to
ffd3857
Compare
WhitWaldo
requested changes
Feb 21, 2026
Contributor
WhitWaldo
left a comment
There was a problem hiding this comment.
First of all, thank you for the contribution! Examples that improve understanding of how to test workflows are definitely lacking in the repository, so I appreciate you spotting and remedying that!
If you could fix the spelling typo, I'd be happy to merge this.
* Collapsed available strategies to just Numeric, Date and SemVer and normalized the options between each for similar support. Updated tests accordingly. * Added missing prefix support for date version strategy --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
* Added support for a property that can be placed in the entry application csproj that enables the automatic discovery and import of workflows across multiple projects * Added built-in package reference to `Dapr.Workflow.Abstractions` --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
* Updating to exclude Dapr.Workflow.Versioning.Abstractions,Dapr.Workflow.Versioning.Generators, and Dapr.Workflow.Versioning.Runtime projects from being deployed to NuGet. * Removed requirement that to discover packages requires a release tag, but left this in place for Publish Packages --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
Contributor
Author
|
Fixed the typo, don't have the time now but will look at the merge conflict later! |
Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
This was referenced Mar 2, 2026
This was referenced Mar 9, 2026
This was referenced Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Improves testing examples for Dapr Workflows by adding test coverage for additional concepts and fixing documentation issues.
TestHighCostOrderApproved: Mock external events (WaitForExternalEventAsync) and verify custom statusTestHighCostOrderApprovalTimeout: Simulate timeouts withTaskCanceledExceptionTestActivityException: Simulate activity failures withWorkflowTaskFailedExceptionIssue reference
Addresses #1532 by improving test coverage. Additional improvements may be needed - open to suggestions.
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: