Microsoft adds WinUI support to MSTest
Briefly

MSTest 3.4 introduces several enhancements including nine new code analyzer rules aimed at ensuring adherence to best practices, allowing better assertion usage and design preferences. It now supports Single Threaded Apartment (STA) threads, improving the execution experience for UI tests and enabling timeouts for crucial fixture methods such as cleanup and initialization. Removing unnecessary project boilerplate enhances Playwright and Aspire testing. The MSTest SDK has become easier to use, as developers no longer need to add certain using directives, and sample projects are also improved for clarity.
Microsoft has introduced nine new rules in MSTest.Analyzers to enhance code quality by promoting best practices and improving the use of assertions and attributes.
MSTest 3.4 now supports STA threads and allows for timeout definitions on fixture methods, improving control over test execution and addressing longstanding user requests.
The addition of [Timeout] support and STA thread compatibility for UI tests marks significant improvements in MSTest 3.4, based on user feedback.
Testing with Playwright and Aspire has been streamlined by reducing project boilerplate and enhancing sample projects for easier SDK usage.
Read at InfoWorld
[
|
]