danielgerlag / danielgerlag/workflow-core

Can't use WorkflowTest when workflow constructor takes parameters

Open
#1,227 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5.9k
Forks
1.3k
Avg merge
1d 1h
Merged PRs (30d)
5

Description

**Describe the bug**
``WorkflowTest`` has a limitation : ``where TWorkflow : new()`` thus preventing use of workflows with no parameterless constructor.

**To Reproduce**

**Expected behavior**
Should remove the ``new()`` constraint.

**Additional context**
Would be happy to submit a pull request.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.