afonsof/grunt-qunit-cov — pull request #3 by larsthorup (2012-11-06 02:34:51+00:00)
Title: adding support for baseDir

I want to support subdirectories in srcDir and depDirs to support a configuration like the following:

'qunit-cov': {
test:
{
minimum: 0.9,
baseDir: 'src',
srcDir: 'src/js',
depDirs: ['src/lib', 'src/test'],
outDir: 'output/coverage',
testFiles: ['src/test/index.html']
}
}

A very simple implementation that does that is attached. Let me know what you think!