-
Notifications
You must be signed in to change notification settings - Fork 674
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
Question: What are the plans for supporting testing of projects using WinUI3? #3584
Comments
X-Ref: microsoft/WindowsAppSDK#382 |
X-Ref: microsoft/testfx#708 |
Some more background:
Yes, for performing automated testing of applications built with WinForms and WPF, it has mostly been necessary to rely on tooling from 3rd parties. However, UWP (and WinRT, & Windows Phone before it) had automated UI test projects (previously "Coded UI" tests) that made testing of code in application projects possible. While WinUI3 is seen as the future for Win32 and UWP apps, if it has less functionality than what is currently available for UWP (WinUI2) applications it will be seen as a step backwards. Yes, it's possible to put application logic in a library project and run tests against the library code, but this is not a perfect solution.
Yes, it's possible to create automated UI tests for WinUI3 apps by using WinAppDriver, however: What I'd like:
Yes, my desired list is just one thing. This is the absolute minimum I deem to be acceptable. For a first version I'll even accept if that can't run headless. Headless would be better so it can easily run on a CI server but I can wait for vNext for that. I have lots of other ideas for things that could improve or make testing easier/better but those discussions seem much more appropriate once testing is possible. In summary:
|
As WinUI is used by parts of the windows Shell, can details of how these are tested be shared? The WinUI codebase uses both MSTest2 and TAEF as test frameworks. Without further advice, it might be easy to assume that both must be used to test any all that uses WinUI. The WinUI codebase uses Tests that use the Microsoft.Windows.Apps.Test (MWAT) library. |
In the spirit of Phrasing Positively: I want to create high quality, well tested apps. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Don't give up on requirements for a "proper" (& comprehensive) testing solution for WinUI3 apps. |
I'm interested to know the broad plans for testing support of apps built using WinUI3. This doesn't appear to have been documented or discussed publicly previously.
Specific questions to help prompt a broad answer:
The text was updated successfully, but these errors were encountered: