Skip to content

IntelliTect/TestTools

Repository files navigation

ConsoleView

ConsoleView 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.

Usage

To use it, use this syntax within a unit test:

string view =
@"Please enter something: <<Something
>>You said 'Something'.";

IntelliTect.ConsoleView.Tester.Test(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.

About

A collection of tools for aiding in test automation

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 16