You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run the test , the runs and completes gives me pass or fail but the test explorer the test execution is not complete please see the screenshot
I did debugging and found out that the execution is setting stuck in MsTest.AssemblyHooks.cs in the line TestRunnerManager.OnTestRunEnd(currentAssembly)
[AssemblyCleanup]
[MethodImpl(MethodImplOptions.NoInlining)]
public static void AssemblyCleanup()
{
var currentAssembly = typeof(BasicSystemTests_MSTestAssemblyHooks).Assembly;
TestRunnerManager.OnTestRunEnd(currentAssembly);
}
Please note the .NET version i am using is .NET 8.0
Steps to Reproduce
I observe that this is not happening if an external assembly is not used.
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered:
SpecFlow Version
3.9.74
Which test runner are you using?
MSTest
Test Runner Version Number
3.9.40
.NET Implementation
.NET 6.0
Project Format of the SpecFlow project
Classic project format using
<PackageReference>
tags.feature.cs files are generated using
SpecFlow.Tools.MsBuild.Generation NuGet package
Test Execution Method
Visual Studio Test Explorer
SpecFlow Section in app.config or content of specflow.json
{
"$schema": "https://specflow.org/specflow-config.json",
"unitTestProvider": {
"name": "MsTest"
},
"stepAssemblies": [
{
"assembly": "StepLibrary"
}
]
}
Issue Description
When i run the test , the runs and completes gives me pass or fail but the test explorer the test execution is not complete please see the screenshot
I did debugging and found out that the execution is setting stuck in MsTest.AssemblyHooks.cs in the line TestRunnerManager.OnTestRunEnd(currentAssembly)
[AssemblyCleanup]
[MethodImpl(MethodImplOptions.NoInlining)]
public static void AssemblyCleanup()
{
var currentAssembly = typeof(BasicSystemTests_MSTestAssemblyHooks).Assembly;
}
Please note the .NET version i am using is .NET 8.0
Steps to Reproduce
I observe that this is not happening if an external assembly is not used.
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered: