microsoft / testfx

MSTest framework and adapter
MIT License
714 stars 253 forks source link

Test setup for winui3 is out of date #1415

Closed algjohnston closed 1 year ago

algjohnston commented 1 year ago

Follow the steps here to make a winui3 project.

https://learn.microsoft.com/en-us/windows/apps/winui/winui3/create-your-first-winui3-app

See the only documentation on the web by Microsoft that describes how to set up tests for winui3.

https://devblogs.microsoft.com/ifdef-windows/winui-desktop-unit-tests/

Evangelink commented 1 year ago

Hi @algjohnston,

Are you referring to the versions of test SDK and MSTest shown in the blog post or are you referring to something else?

algjohnston commented 1 year ago

There is no images folder or wapproj folder. It is pretty easy to set up ignoring those parts though.

Evangelink commented 1 year ago

Hum not sure how this relates to mstest. Could you please elaborate?

Evangelink commented 1 year ago

@Scottj1s for guidance on this request.

algjohnston commented 1 year ago

I did find this later, and it describes a similar process with the main difference being the inclusion of "coverlet.collector" https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-mstest

I was not sure if winui3 made test set up different, but it appears it does not.

Evangelink commented 1 year ago

I will see how I can improve the doc to list supported frameworks. Is there anything else you think should be done or shall I move forward by closing this issue?

Evangelink commented 1 year ago

Closing the issue as there is no activity.