Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/wpfPublic

Migrate to xunit.v3#10890

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Youssef1313 wants to merge7 commits intodotnet:main
base:main
Choose a base branch
Loading
fromYoussef1313:xunitv3
Draft

Conversation

Youssef1313
Copy link
Member

@Youssef1313Youssef1313 commentedMay 28, 2025
edited
Loading

TODO:

  • Add dotnet.config

lindexi reacted with thumbs up emoji
@dotnet-policy-servicedotnet-policy-servicebot added PRmetadata: Label to tag PRs, to facilitate with triage draft labelsMay 28, 2025
@Youssef1313
Copy link
MemberAuthor

CI fails due to missing package in our feed. Started a mirrorhere

@Youssef1313
Copy link
MemberAuthor

/azp run

@azure-pipelinesAzure Pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Youssef1313
Copy link
MemberAuthor

@Youssef1313
Copy link
MemberAuthor

winforms moved now withdotnet/winforms#13540

@Youssef1313
Copy link
MemberAuthor

=== COMMAND LINE === "D:\a\_work\1\s\artifacts\bin\System.Xaml.Tests\x64\Debug\net10.0\System.Xaml.Tests.exe"    --hangdump --hangdump-timeout 10min --crashdump --results-directory "D:\a\_work\1\s\artifacts\TestResults\Debug" --report-xunit --report-xunit-filename "System.Xaml.Tests_net10.0_x64.xml" --report-xunit-html --report-xunit-html-filename "System.Xaml.Tests_net10.0_x64.html" --report-trx --report-trx-filename "System.Xaml.Tests_net10.0_x64.trx" --auto-reporters off [createdump] Writing full dump for process 3616 to file D:\a\_work\1\s\artifacts\TestResults\Debug\System.Xaml.Tests_3616_crash.dmp[createdump] Dump successfully written in 2905ms[+0/x0/?0] System.Xaml.Tests.dll (net10.0|x64)(3s)Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'typeName')   at System.ArgumentNullException.Throw(String paramName)   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)   at System.ComponentModel.TypeConverterAttribute..ctor(String typeName)   at System.Reflection.CustomAttribute.CreateCustomAttributeInstance(RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)   at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit)   at Xunit.Sdk.ReflectionExtensions.GetMatchingCustomAttributes(Type type, Type attributeType) in /_/src/xunit.v3.common/Extensions/ReflectionExtensions.cs:line 234   at Xunit.v3.TestCollectionFactoryBase.Get(Type testClass) in /_/src/xunit.v3.core/Framework/TestCollectionFactoryBase.cs:line 37   at Xunit.v3.XunitTestFrameworkDiscoverer.CreateTestClass(Type class) in /_/src/xunit.v3.core/Framework/XunitTestFrameworkDiscoverer.cs:line 58   at Xunit.v3.TestFrameworkDiscoverer`1.<>c__DisplayClass10_0.<<Find>b__0>d.MoveNext() in /_/src/xunit.v3.core/Framework/TestFrameworkDiscoverer.cs:line 76--- End of stack trace from previous location ---   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__124_1(Object state)   at System.Threading.QueueUserWorkItemCallback.Execute()   at System.Threading.ThreadPoolWorkQueue.Dispatch()   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()   at System.Threading.Thread.StartCallback()Test host process with PID '3616' crashed, a dump file was generatedTest application process didn't exit gracefully, exit code is '7'

cc@bradwilson

@bradwilson
Copy link

Hard to tell but this looks like a custom attribute might be throwing in a constructor somewhere...?

@bradwilson
Copy link

I'd be curious to know what happens if you try using3.0.0-pre.25 because I just removed calls toGetCustomAttributes to help ignore attributes that are throwing in their constructors.

@Youssef1313
Copy link
MemberAuthor

Youssef1313 commentedJun 18, 2025
edited
Loading

Updating helped. There are other failures that I'm investigating now.

@bradwilson I'm curious whether you're planning to ship xunit.v3 3.x stable going to be released some time soon?

@bradwilson
Copy link

Right now, our release plan is to allow third parties chances to find issues with breaking changes, we will give them a month to review the changes.

The most recent build shipped 3 days ago. Assuming there are no further builds that need to be shipped to account for new breaking changes (and thus reset the clock), then a final release should be in the middle of July.

Youssef1313 reacted with heart emoji

@Youssef1313
Copy link
MemberAuthor

@bradwilson Thanks for clarifying!

@Youssef1313
Copy link
MemberAuthor

Youssef1313 commentedJun 18, 2025
edited
Loading

Note to self: This is currently blocked as current version of xunit.stafact isn't compatible with xunit.v3 3.x.

@Youssef1313
Copy link
MemberAuthor

Now only needs fixing coverage.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dipeshmsftdipeshmsftAwaiting requested review from dipeshmsft

@singhashish-wpfsinghashish-wpfAwaiting requested review from singhashish-wpf

@Kuldeep-MSKuldeep-MSAwaiting requested review from Kuldeep-MS

Copilot code reviewCopilotAwaiting requested review from CopilotCopilot will automatically review once the pull request is marked ready for review

At least 1 approving review is required to merge this pull request.

Assignees

@Youssef1313Youssef1313

Labels
draftPRmetadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Youssef1313@bradwilson

[8]ページ先頭

©2009-2025 Movatter.jp