Provides test helper classes for instantiating ASP.NET Core classes like RoleManager and UserManager.
Console is a simple end-to-end test framework for .NET console applications.
This currently has non-optimal nomenclature and is not guaranteed to be efficient, but it appears to work.
To use it, use this syntax within a unit test:
string view =
@"Please enter something: <<Something
>>You said 'Something'.";
IntelliTect.TestTools.Console.ConsoleAssert.Expect(view, () => { MyMethod() } );
The view variable contains a sample view to test for. Within it, the <<
and >>
symbols indicate that the inner content is entered into the console by the user -- including the newline, as they would press Enter.
... More to come later.
Provides wrappers for calling Microsoft's UiTestControl classes for WPF and WinForm applications in a more concise, reliable manner
To use, inherit a class from the solution's DesktopControls class and make application-specific calls in the inherited class using generic types:
FindWpfControlByAutomationId( "textBoxControl1", c => new WpfEdit( c ) );
Inherit a class from BaseTestInherit and set the ApplicationLocation and create a new field for the above inherited class.
Inherit test classes from the BaseTestInherit inherited class, and call methods via the new field.
Example projects at https://github.com/IntelliTect/TestTools