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 using TUnitv0.10.6 (and starting with v0.10.1) with Verify.TUnitv28.9.0, tests fail with the error Method not found: 'System.Type TUnit.Core.TestDetails.get_ClassType()'.
Example stack trace:
Method not found: 'System.Type TUnit.Core.TestDetails.get_ClassType()'.
at VerifyTUnit.Verifier.BuildVerifier(String sourceFile, VerifySettings settings, Boolean useUniqueDirectory)
at VerifyTUnit.Verifier.<>c__DisplayClass8_0.<<Verify>b__0>d.MoveNext() in /_/src/Verify.TUnit/Verifier.cs:line 67
--- End of stack trace from previous location ---
at TUnit.VerifyBug.Tests.RandomTest() in D:\dev\TUnit.VerifyBug\tests\TUnit.VerifyBug\Tests.cs:line 13
at TUnit.Core.AsyncConvert.Convert(Func`1 action)
at TUnit.Core.DiscoveredTest`1.ExecuteTest(CancellationToken cancellationToken)
at TUnit.Engine.Helpers.Timings.Record(String name, TestContext context, Func`1 action)
at TUnit.Engine.Services.TestInvoker.Invoke(DiscoveredTest discoveredTest, CancellationToken cancellationToken, List`1 cleanupExceptions)
at TUnit.Engine.Services.TestInvoker.Invoke(DiscoveredTest discoveredTest, CancellationToken cancellationToken, List`1 cleanupExceptions)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteTestMethodWithTimeout(DiscoveredTest discoveredTest, CancellationToken cancellationToken, List`1 cleanupExceptions)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteWithCancellationTokens(DiscoveredTest discoveredTest, List`1 cleanupExceptions)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteWithRetries(DiscoveredTest discoveredTest, List`1 cleanupExceptions)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteWithRetries(DiscoveredTest discoveredTest, List`1 cleanupExceptions)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteTestInternalAsync(DiscoveredTest test, ITestExecutionFilter filter, ExecuteRequestContext context, Boolean isStartedAsDependencyForAnotherTest)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteTestInternalAsync(DiscoveredTest test, ITestExecutionFilter filter, ExecuteRequestContext context, Boolean isStartedAsDependencyForAnotherTest)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteTestInternalAsync(DiscoveredTest test, ITestExecutionFilter filter, ExecuteRequestContext context, Boolean isStartedAsDependencyForAnotherTest)
at TUnit.Engine.Services.SingleTestExecutor.ExecuteTestInternalAsync(DiscoveredTest test, ITestExecutionFilter filter, ExecuteRequestContext context, Boolean isStartedAsDependencyForAnotherTest)
at TUnit.Engine.Services.TestsExecutor.ProcessTest(DiscoveredTest test, ITestExecutionFilter filter, ExecuteRequestContext context, CancellationToken cancellationToken)
I've created a minimal repository that reproduces the issue. I'm not certain whether this is an issue with TUnit or whether Verify will have to adjust.
Please let me know if you need any further information.
The text was updated successfully, but these errors were encountered:
When using
TUnit
v0.10.6
(and starting withv0.10.1
) withVerify.TUnit
v28.9.0
, tests fail with the errorMethod not found: 'System.Type TUnit.Core.TestDetails.get_ClassType()'
.Example stack trace:
I've created a minimal repository that reproduces the issue. I'm not certain whether this is an issue with
TUnit
or whetherVerify
will have to adjust.Please let me know if you need any further information.
The text was updated successfully, but these errors were encountered: