< Summary

Information
Class: Elsa.Testing.Shared.WorkflowStateCommittedEventArgs
Assembly: Elsa.Testing.Shared.Component
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Testing.Shared.Component/EventArgs/WorkflowStateCommittedEventArgs.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 12
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_WorkflowExecutionContext()100%11100%
get_WorkflowState()100%11100%
get_WorkflowInstance()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Testing.Shared.Component/EventArgs/WorkflowStateCommittedEventArgs.cs

#LineLine coverage
 1using Elsa.Workflows;
 2using Elsa.Workflows.Management.Entities;
 3using Elsa.Workflows.State;
 4
 5namespace Elsa.Testing.Shared;
 6
 3237public class WorkflowStateCommittedEventArgs(WorkflowExecutionContext workflowExecutionContext, WorkflowState workflowSt
 8{
 175149    public WorkflowExecutionContext WorkflowExecutionContext { get; } = workflowExecutionContext;
 32310    public WorkflowState WorkflowState { get; } = workflowState;
 32311    public WorkflowInstance WorkflowInstance { get; } = workflowInstance;
 12}