GruntBlanketMocha / grunt-blanket-mocha

Headless Blanket.js code coverage and Mocha testing via PhantomJS
MIT License
53 stars 37 forks source link

Include option to 'manually exclude' files #1

Closed rash-mi closed 11 years ago

rash-mi commented 11 years ago

Provides capability to pass an array of files to be excluded from the command-line or to be listed as an option in the task file: blanket_mocha: { … options: { excludedFiles: [ "./src/my/file1.js", "./src/my/project/file2.js" ] } }

or, for command-line, use, --excludedFiles=["./src/my/file1.js", "./src/my/project/file2.js"]

Result: The files that have been manually excluded will appear as, SKIP: …filename...

geekdave commented 11 years ago

Looks great! Thanks!