The NModel Examples
demonstrate how to use the framework.
In addition to a
, most of the examples also include an implementation and a test harness (called a
in NModel) for executing tests with the
To browse the examples, select the Source Code
tab, click on the Browse
icon for the latest release, and navigate to
. There is a subdirectory for each example.
To download the examples, go to the Releases
tab (above) and download
. To extract the examples, right click on the zip file and select
Navigate to the directory where you want to put the examples, then
. The extractor will create a subdirectory for each example.
Each example contains a README.txt
file and a
command file. To build the example, just
to its directory and type build
at the command prompt. The
file provides instructions for running the example.
If you prefer Visual Studio, each example also contains a "solution" (an
file). You may open the solution in Visual Studio and build it in the usual way. NModel does not require Visual Studio.
Several of the examples are discussed in the book
Model-based Software Testing and Analysis with C#