Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed May 24, 2016
1 parent d3806d8 commit 7c2840c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Intellitect.ConsoleView/Readme.txt → README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
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.

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

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

0 comments on commit 7c2840c

Please sign in to comment.