NUnitForms Class Library

NUnitFormTest.Mouse Property

Returns a reference to the current MouseController for doing Mouse tests. I recommend this only when you are writing your own custom controls and need to respond to actual mouse input to test them properly. In most other cases there is a better way to test the form's logic.

[Visual Basic]
Public ReadOnly Property Mouse As MouseController
[C#]
public MouseController Mouse {get;}

See Also

NUnitFormTest Class | NUnit.Extensions.Forms Namespace