grunt-protractor-coverage
Advanced tools
Comparing version 0.2.15 to 0.2.16
{ | ||
"name": "grunt-protractor-coverage", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"description": "Instrument your code and gather coverage data from Protractor E2E tests", | ||
@@ -10,25 +10,25 @@ "main": "Gruntfile.js", | ||
"dependencies": { | ||
"coverage-collector": "0.0.4", | ||
"coverage-collector": "0.0.5", | ||
"dargs-object": "~0.2.0", | ||
"escodegen": "~1.3.0", | ||
"esprima": "~1.1.1", | ||
"estraverse": "~1.5.0", | ||
"escodegen": "~1.8.0", | ||
"esprima": "~2.7.1", | ||
"estraverse": "~4.1.1", | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-connect": "~0.7.1", | ||
"grunt-istanbul": "~0.2.5", | ||
"mkdirp": "~0.3.5", | ||
"grunt-contrib-connect": "~0.11.2", | ||
"grunt-istanbul": "~0.6.1", | ||
"mkdirp": "~0.5.1", | ||
"temporary": "0.0.8", | ||
"tmp": "0.0.23" | ||
"tmp": "0.0.28" | ||
}, | ||
"devDependencies": { | ||
"cucumber": "^0.5.1", | ||
"cucumber": "^0.9.2", | ||
"grunt": "~0.4.5", | ||
"grunt-cli": "~0.1.11", | ||
"grunt-cli": "~0.1.13", | ||
"grunt-contrib-clean": "~0.4.0a", | ||
"grunt-contrib-copy": "~0.5.0", | ||
"grunt-contrib-jshint": "~0.1.0", | ||
"grunt-contrib-nodeunit": "~0.1.0", | ||
"grunt-coveralls": "~0.3.0", | ||
"grunt-selenium-webdriver": "^0.2.451", | ||
"protractor": "^1.0.0" | ||
"grunt-contrib-copy": "~0.8.2", | ||
"grunt-contrib-jshint": "~0.11.3", | ||
"grunt-contrib-nodeunit": "~0.4.1", | ||
"grunt-coveralls": "~1.0.0", | ||
"grunt-selenium-webdriver": "^0.2.482", | ||
"protractor": "^3.0.0" | ||
}, | ||
@@ -50,3 +50,3 @@ "scripts": { | ||
"author": "ryan bridges", | ||
"license": "APLv2", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
@@ -53,0 +53,0 @@ "url": "https://github.com/r3b/grunt-protractor-coverage/issues" |
@@ -90,3 +90,3 @@ /* | ||
configFile: (!grunt.util._.isUndefined(this.data.configFile)) ? this.data.configFile : protractorRefConfPath, | ||
keepAlive: (!grunt.util._.isUndefined(this.data.keepAlive)) ? this.data.keepAlive : protractorRefConfPath, | ||
keepAlive: (!grunt.util._.isUndefined(this.data.keepAlive)) ? this.data.keepAlive : true, | ||
noColor: false, | ||
@@ -99,2 +99,6 @@ noInject: false, | ||
}); | ||
var saveCoverageTemplate = grunt.file.expand([ opts.saveCoverageTemplate, "node_modules/grunt-protractor-coverage/resources/saveCoverage.tmpl", path.join(__dirname, '..') + '/**/resources/saveCoverage.tmpl']).shift(); | ||
if(!saveCoverageTemplate){ | ||
grunt.fail.fatal("Coverage template file not found."); | ||
} | ||
var coverageDir = path.resolve(opts.coverageDir||'coverage/'); | ||
@@ -224,3 +228,3 @@ coverageDir = coverageDir.replace(/\\/g,'/'); | ||
function(error, result, code) { | ||
if (error) { | ||
@@ -238,4 +242,2 @@ grunt.log.error(String(result)); | ||
} | ||
done(); | ||
done = null; | ||
}); | ||
@@ -245,17 +247,15 @@ } else { | ||
// or protractor exited with other reason. | ||
grunt.fail.fatal('protractor exited with code: ' + code, 3); | ||
grunt.warn('Tests failed, protractor exited with code: ' + code, code); | ||
} | ||
} else { | ||
getCoverageData(function(payload){ | ||
try{ | ||
var filename=path.normalize([coverageDir,'/coverage.json'].join('')); | ||
fs.writeFileSync(filename, payload); | ||
}catch(e){ | ||
grunt.log.error("Got error: " + e.message); | ||
} | ||
done(); | ||
done = null; | ||
}); | ||
} | ||
getCoverageData(function(payload){ | ||
try{ | ||
var filename=path.normalize([coverageDir,'/coverage.json'].join('')); | ||
fs.writeFileSync(filename, payload); | ||
}catch(e){ | ||
grunt.log.error("Got error: " + e.message); | ||
} | ||
}); | ||
done(); | ||
done = null; | ||
} | ||
@@ -262,0 +262,0 @@ ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
0
31878
6237710
+ Addedaccepts@1.3.8(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedasync@1.5.2(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbasic-auth@2.0.1(transitive)
+ Addedbatch@0.6.1(transitive)
+ Addedbody-parser@1.12.4(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbytes@2.1.0(transitive)
+ Addedchalk@1.1.1(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconnect@3.3.53.7.0(transitive)
+ Addedconnect-livereload@0.5.4(transitive)
+ Addedcontent-type@1.0.5(transitive)
+ Addedcoverage-collector@0.0.5(transitive)
+ Addeddebug@2.1.32.2.02.6.9(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addeddepd@1.0.11.1.22.0.0(transitive)
+ Addeddestroy@1.2.0(transitive)
+ Addedee-first@1.1.01.1.1(transitive)
+ Addedencodeurl@1.0.22.0.0(transitive)
+ Addedescape-html@1.0.11.0.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedescodegen@1.7.11.8.1(transitive)
+ Addedesprima@2.5.02.7.3(transitive)
+ Addedestraverse@1.9.34.1.1(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedetag@1.8.1(transitive)
+ Addedfast-levenshtein@1.0.72.0.6(transitive)
+ Addedfileset@0.2.1(transitive)
+ Addedfinalhandler@0.3.41.1.2(transitive)
+ Addedfresh@0.5.2(transitive)
+ Addedglob@5.0.15(transitive)
+ Addedgrunt-contrib-connect@0.11.2(transitive)
+ Addedgrunt-istanbul@0.6.2(transitive)
+ Addedhandlebars@4.7.8(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedhttp-errors@1.6.32.0.0(transitive)
+ Addediconv-lite@0.4.8(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.3(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedistanbul@0.3.220.4.2(transitive)
+ Addedlevn@0.2.50.3.0(transitive)
+ Addedmedia-typer@0.3.0(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedminimatch@2.0.10(transitive)
+ Addedmorgan@1.10.0(transitive)
+ Addedms@0.7.00.7.12.0.02.1.3(transitive)
+ Addednegotiator@0.6.3(transitive)
+ Addedneo-async@2.6.2(transitive)
+ Addednue@0.7.1(transitive)
+ Addedon-finished@2.2.12.3.02.4.1(transitive)
+ Addedon-headers@1.0.2(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedopn@1.0.2(transitive)
+ Addedoptionator@0.5.00.8.3(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedparseurl@1.3.3(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedportscanner@1.2.0(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedqs@2.4.2(transitive)
+ Addedrange-parser@1.2.1(transitive)
+ Addedraw-body@2.0.2(transitive)
+ Addedresolve@1.1.7(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsend@0.19.0(transitive)
+ Addedserve-index@1.9.1(transitive)
+ Addedserve-static@1.16.2(transitive)
+ Addedsetprototypeof@1.1.01.2.0(transitive)
+ Addedsource-map@0.2.00.6.1(transitive)
+ Addedstatuses@1.5.02.0.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.03.2.3(transitive)
+ Addedtmp@0.0.28(transitive)
+ Addedtoidentifier@1.0.1(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addedtype-is@1.6.18(transitive)
+ Addeduglify-js@3.19.3(transitive)
+ Addedunpipe@1.0.0(transitive)
+ Addedutils-merge@1.0.1(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedword-wrap@1.2.5(transitive)
+ Addedwordwrap@1.0.0(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedasync@0.1.150.2.10(transitive)
- Removedbasic-auth-connect@1.0.0(transitive)
- Removedbatch@0.5.0(transitive)
- Removedbody-parser@1.0.2(transitive)
- Removedbuffer-crc32@0.2.1(transitive)
- Removedbytes@0.2.10.3.0(transitive)
- Removedcompressible@1.0.0(transitive)
- Removedcompression@1.0.0(transitive)
- Removedconnect@2.13.12.14.5(transitive)
- Removedconnect-livereload@0.3.2(transitive)
- Removedconnect-timeout@1.0.0(transitive)
- Removedcookie@0.1.0(transitive)
- Removedcookie-parser@1.0.1(transitive)
- Removedcookie-signature@1.0.11.0.3(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcoverage-collector@0.0.4(transitive)
- Removedcsurf@1.1.0(transitive)
- Removeddebug@0.7.40.8.00.8.1(transitive)
- Removederrorhandler@1.0.0(transitive)
- Removedescodegen@1.3.3(transitive)
- Removedesprima@1.1.1(transitive)
- Removedestraverse@1.5.1(transitive)
- Removedesutils@1.0.0(transitive)
- Removedexpress-session@1.0.2(transitive)
- Removedfileset@0.1.8(transitive)
- Removedfresh@0.2.00.2.2(transitive)
- Removedgrunt-contrib-connect@0.7.1(transitive)
- Removedgrunt-istanbul@0.2.5(transitive)
- Removedhandlebars@1.3.0(transitive)
- Removedisarray@0.0.1(transitive)
- Removedistanbul@0.2.16(transitive)
- Removedmethod-override@1.0.0(transitive)
- Removedmethods@0.1.0(transitive)
- Removedmime@1.2.11(transitive)
- Removedmkdirp@0.3.5(transitive)
- Removedmorgan@1.0.0(transitive)
- Removedmultiparty@2.2.0(transitive)
- Removednegotiator@0.3.00.4.2(transitive)
- Removedopen@0.0.4(transitive)
- Removedoptimist@0.3.7(transitive)
- Removedparseurl@1.0.1(transitive)
- Removedpause@0.0.1(transitive)
- Removedportscanner@0.2.2(transitive)
- Removedqs@0.6.6(transitive)
- Removedrange-parser@0.0.41.0.3(transitive)
- Removedraw-body@1.1.31.1.41.1.7(transitive)
- Removedreadable-stream@1.1.14(transitive)
- Removedresolve@0.7.4(transitive)
- Removedresponse-time@1.0.0(transitive)
- Removedscmp@0.0.3(transitive)
- Removedsend@0.1.40.3.0(transitive)
- Removedserve-index@1.0.1(transitive)
- Removedserve-static@1.1.0(transitive)
- Removedsetimmediate@1.0.1(transitive)
- Removedsource-map@0.1.43(transitive)
- Removedstatic-favicon@1.0.2(transitive)
- Removedstream-counter@0.2.0(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedtmp@0.0.23(transitive)
- Removedtype-is@1.1.0(transitive)
- Removeduglify-js@2.3.6(transitive)
- Removeduid2@0.0.30.0.4(transitive)
- Removedvhost@1.0.0(transitive)
Updatedcoverage-collector@0.0.5
Updatedescodegen@~1.8.0
Updatedesprima@~2.7.1
Updatedestraverse@~4.1.1
Updatedgrunt-istanbul@~0.6.1
Updatedmkdirp@~0.5.1
Updatedtmp@0.0.28