-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catastrophic failures when upgraded to v3 #435
Comments
One more thing, my discoverer really is reporting multiple |
It seems that the issue is in private static string UniqueIDForTestCollection(string assemblyUniqueID, Xunit.Abstractions.ITestCollection testCollection)
{
return UniqueIDGenerator.ForTestCollection(assemblyUniqueID, testCollection.DisplayName, testCollection.CollectionDefinition?.Name);
} The implementation uses the collection's /// <summary>
/// Gets the test collection ID. Test collection equality is determined by comparing IDs.
/// </summary>
Guid UniqueID { get; } My collections had unique UniqueIds but not their display names (null). So in short, collections need to have unique |
Yes, there is an unstated part of the contract for test collection display names that they are unique, due to the way |
Closing as "by design". |
I'm on xUnit v2.9.2 and I upgraded
xunit.runner.visualstudio
from 2.8.2 to 3.0.0. I'm now getting these messages when runningdotnet test
from the console:The same errors are appearing for
TestCollectionStarting
andTestClassStarting
. All tests complete normally and report no failures despite these messages.Is the v3 runner supposed to be used only with xUnit v3?
What does the error mean? I'm using my own discoverer, executor and runner but I don't know what is this "message metadata cache". Where do I start looking?
The text was updated successfully, but these errors were encountered: