winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Ensure that all WinForms controls have unit tests coverage for public APIs

Open Tanya-Solyanik opened this issue 2 years ago • 3 comments

  • [x] Investigate if we can re-enable code coverage on internal builds We enabled it in #514, however Coverage option is disabled in the build pipeline - https://github.com/dotnet/winforms/blob/95e83ed6e86c93c10020a7c92a6c9d459f65f6a5/eng/pipelines/build.yml#L33.
  • [x] Generate list of controls with missing test coverage for public methods
  • [ ] Work with @Olina-Zhang's team on adding the missing scenarios

Tanya-Solyanik avatar Dec 08 '23 20:12 Tanya-Solyanik

@Olina-Zhang @Tanya-Solyanik I don't think the VB code has much test coverage. I added some in my yet to be merged PR #9867. I was not able to add anything for Network Uploads as I have no idea how to access a server to upload to.

paul1956 avatar Dec 25 '23 16:12 paul1956

@paul1956 - good point about the missing VB-specific coverage. We'll add it after the C# coverage is in done.

Tanya-Solyanik avatar Dec 25 '23 20:12 Tanya-Solyanik

Following controls are missing test coverage for public methods: System.Windows.Forms

  • [ ] Button https://github.com/dotnet/winforms/pull/10693
  • [ ] CheckBox https://github.com/dotnet/winforms/pull/10693, https://github.com/dotnet/winforms/pull/11249
  • [ ] FlatButton https://github.com/dotnet/winforms/pull/10693
  • [ ] RadioButton https://github.com/dotnet/winforms/pull/10693, https://github.com/dotnet/winforms/pull/11687
  • [ ] ComboBox https://github.com/dotnet/winforms/pull/11381, https://github.com/dotnet/winforms/pull/11533, https://github.com/dotnet/winforms/pull/11565, https://github.com/dotnet/winforms/pull/11699
  • [ ] DataGridView https://github.com/dotnet/winforms/pull/11541, https://github.com/dotnet/winforms/pull/11556, https://github.com/dotnet/winforms/pull/11618, https://github.com/dotnet/winforms/pull/11691
  • [ ] DateTimePicker https://github.com/dotnet/winforms/pull/11033, https://github.com/dotnet/winforms/pull/11106, https://github.com/dotnet/winforms/pull/11318, https://github.com/dotnet/winforms/pull/11385, https://github.com/dotnet/winforms/pull/11534, https://github.com/dotnet/winforms/pull/11463
  • [ ] GroupBox https://github.com/dotnet/winforms/pull/11688
  • [ ] Label https://github.com/dotnet/winforms/pull/10787, https://github.com/dotnet/winforms/pull/10976, https://github.com/dotnet/winforms/pull/11521
  • [ ] LinkLabel
  • [ ] CheckedListBox https://github.com/dotnet/winforms/pull/11265, https://github.com/dotnet/winforms/pull/11317, https://github.com/dotnet/winforms/pull/11384, https://github.com/dotnet/winforms/pull/11647
  • [ ] ListBox https://github.com/dotnet/winforms/pull/11624, https://github.com/dotnet/winforms/pull/11724
  • [ ] ListView https://github.com/dotnet/winforms/pull/11264, https://github.com/dotnet/winforms/pull/11380, https://github.com/dotnet/winforms/pull/11701
  • [ ] MenuStrip
  • [ ] MonthCalendar https://github.com/dotnet/winforms/pull/11149, https://github.com/dotnet/winforms/pull/11217, https://github.com/dotnet/winforms/pull/11519, https://github.com/dotnet/winforms/pull/11619
  • [ ] ProgressBar https://github.com/dotnet/winforms/pull/11074
  • [ ] PropertyGrid https://github.com/dotnet/winforms/pull/11476, https://github.com/dotnet/winforms/pull/11587, https://github.com/dotnet/winforms/pull/11711
  • [ ] RichTextBox https://github.com/dotnet/winforms/pull/10994 https://github.com/dotnet/winforms/pull/10921 https://github.com/dotnet/winforms/pull/11034
  • [ ] MaskedTextBox https://github.com/dotnet/winforms/pull/10978, https://github.com/dotnet/winforms/pull/11231, https://github.com/dotnet/winforms/pull/11286, https://github.com/dotnet/winforms/pull/11376
  • [ ] TextBox https://github.com/dotnet/winforms/pull/11021
  • [ ] ToolStrip https://github.com/dotnet/winforms/pull/11464, https://github.com/dotnet/winforms/pull/11848, https://github.com/dotnet/winforms/pull/11773, https://github.com/dotnet/winforms/pull/11848, https://github.com/dotnet/winforms/pull/11887
  • [ ] TrackBar https://github.com/dotnet/winforms/pull/11066, https://github.com/dotnet/winforms/pull/11397
  • [ ] TreeView https://github.com/dotnet/winforms/pull/11293, https://github.com/dotnet/winforms/pull/11361, https://github.com/dotnet/winforms/pull/11686
  • [ ] DomainUpDown https://github.com/dotnet/winforms/pull/11331
  • [ ] WebBrowser https://github.com/dotnet/winforms/pull/10755
  • [ ] NumericUpDown https://github.com/dotnet/winforms/pull/11522

SimonZhao888 avatar Jan 17 '24 08:01 SimonZhao888