Created
October 7, 2015 13:45
-
-
Save robert-waggott/ec14456d5e04b526b9e9 to your computer and use it in GitHub Desktop.
Running Machine.Spec tests from grunt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
shell: { | |
runUnitTests: { | |
command: "mono packages/Machine.Specifications.Runner.Console.0.9.2/tools/mspec.exe {Your Unit tests dll}" | |
} | |
}, | |
watch: { | |
dlls: { | |
files: ['**/*.dll'], | |
tasks: ['shell:runUnitTests'], | |
options: { | |
spawn: false | |
} | |
} | |
} | |
}); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.loadNpmTasks('grunt-shell'); | |
grunt.registerTask('default', ['watch:dlls']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment