dotnet / dotnet/wpf

WPF unit test improvements for .NET 10

Open
#10,085 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

Getting unit testing fully running is a high priority. This issue tracks the work involved.

- [x] Get xunit working with dispatcher (DONE: #10023)
- [ ] Ensure that all other managed projects have matching unit test assemblies (following the pattern in #10023)
- [ ] Identify active and recently merged PRs that should have unit tests written.
- [ ] Create example tests that programmatically load XAML and display it
- [ ] Try porting some parts of DRT tests
- [ ] Show samples of TestAccessor to look at private members
- [ ] Document how to write tests

Will update this repeatedly as work is understood.

[WinForms unit test best practices docs](https://github.com/dotnet/winforms/blob/main/docs/testing.md#unit-test-best-practices). Note that the docs here need to be updated. I plan to run through them soon.

@Kuldeep-MS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.