Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Common/version.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- This file may be overwritten by automation. Only values allowed here are VersionPrefix and VersionSuffix. -->
<Project>
<PropertyGroup>
<VersionPrefix>1.7.11</VersionPrefix>
<VersionPrefix>1.7.12</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>
</Project>
10 changes: 9 additions & 1 deletion Source/Core/Runtime/CoyoteRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,15 @@ internal Task RunTestAsync(Delegate testMethod, string testName)
Action runTest = () =>
{
Task task = Task.CompletedTask;
if (this.Extension.RunTest(testMethod, out Task extensionTask))
if (testMethod is Action<ICoyoteRuntime> actionWithRuntime)
{
actionWithRuntime(this);
}
else if (testMethod is Func<ICoyoteRuntime, Task> functionWithRuntime)
{
task = functionWithRuntime(this);
}
else if (this.Extension.RunTest(testMethod, out Task extensionTask))
{
task = extensionTask;
}
Expand Down