NUnitForms Class Library

NUnit.Extensions.Forms Namespace

The NUnit.Extensions.Forms namespace is the main namespace for NUnitForms.

Classes

ClassDescription
AmbiguousNameException Exception is thrown when there is more than one control with the specified name.
ButtonTester A ControlTester for testing Buttons.
CheckBoxTester A ControlTester for testing CheckBoxes.
ComboBoxTester A ControlTester for testing ComboBoxes.
ControlCollection Internal use only. Represents a collection of controls.
ControlFinder Internal use only. Finds controls according to their name property.
ControlNotVisibleException Exception is thrown when you attempt an action on a Control that is not visible.
ControlTester A ControlTester for any type of control. It is the base class for all ControlTesters in the API. It can also serve as a generic tester for all Controls with no specifically implemented support.
Finder Internal use only. Base class for ControlFinder and MenuItemFinder.
FormCollection Internal use only. Represents a collection of controls.
FormFinder A class to help find a form according to its name. NUnitForms users should not need to use this class. Consider it as internal.
FormTester A ControlTester for testing forms. This class implements a Close() helper method to close a form that you find.
Key Constant values for use with KeyboardController.
KeyboardController Provides testing control of the keyboard.
LabelTester A ControlTester for testing Labels.
LinkLabelTester A ControlTester for testing LinkLabels.
ListBoxTester A ControlTester for testing ListBoxes.
MenuItemCollection Internal use only. Represents a collection of MenuItems.
MenuItemFinder Internal use only. This class finds MenuItems according to a name.
MenuItemTester A ControlTester for MenuItems.
MessageBoxTester A ControlTester for MessageBoxes. Allows you to handle and test MessageBoxes by pressing any of the buttons that ordinarily appear on them.
MouseController Provides testing control over the mouse.
NoSuchControlException Exception is thrown when a control can not be found by its specified name.
NUnitFormsAssertionTest One of three base classes for your NUnitForms tests. This one can be used by people who want "built-in" Assertion functionality and prefer the older style "Assertion" syntax.
NUnitFormsAssertTest One of three base classes for your NUnitForms tests. This one can be used by people who want "built-in" Assert functionality and prefer the newer style "Assert" syntax.
NUnitFormTest One of three base classes for your NUnitForms tests. This one can be used by people who do not need or want "built-in" Assert functionality. This is the recommended base class for all unit tests that use NUnitForms.
RadioButtonTester A ControlTester for testing RadioButtons.
TabControlTester A ControlTester for testing TabControls.
TextBoxTester A ControlTester for testing TextBoxes.
TreeViewTester A ControlTester for testing TreeViews.

Delegates

DelegateDescription
ModalFormActivated Used to specify a handler for a Modal form that is displayed during testing.

Enumerations

EnumerationDescription
MessageBoxTester.Command Available commands you can send to the MessageBox.