Grunt plugin to run Machine.Specfication tests
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-dotnet-mspec --save-dev
In your project's Gruntfile, add a section named
mspec to the data object passed into
Default value: ``
A string value pointing to the mspec tools folder (this folder should contain the mspec-clr4.exe etc.).
A string value pointing to the folder where the reports should be generated.
A boolean value indicating if time related info should be shown in the html report.
A string value indicating what platform to use for running the tests
The toolsPath in this example points to the mspec nuget package tools folder. The report will be stored in the reports folder relative to your grunt file. The specs target will execute all dll's ending with
Spec.dll located in all
bin/Debug folders within the
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.