gemini-coverage
Advanced tools
Comparing version 0.2.3 to 0.3.0
{ | ||
"author": "Tikvach Alexander <unlok@yandex-team.ru>", | ||
"name": "gemini-coverage", | ||
"version": "0.2.3", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/bem/gemini-coverage.git" | ||
"version": "0.3.0", | ||
"description": "Coverage report generator for gemini", | ||
"bin": { | ||
"gemini-coverage": "./bin/gemini-coverage" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/bem/gemini-coverage/issues" | ||
}, | ||
"engines": { | ||
"node": ">= 0.10.20" | ||
}, | ||
"main": "lib/cli/index.js", | ||
"dependencies": { | ||
"inherit": "~2.2.2", | ||
"coa": "~0.4.0", | ||
"handlebars": "~1.3.0", | ||
"inherit": "~2.2.1", | ||
"q": "~1.0.1", | ||
"mkdirp": "~0.5.0", | ||
"coa": "~0.4.1", | ||
"chalk": "~0.5.1", | ||
"lodash": "~2.4.1", | ||
"q-io": "~1.11.4", | ||
"jade": "~1.5.0", | ||
"clean-css": "~2.2.12" | ||
"q-io": "~1.11.0" | ||
}, | ||
"devDependencies": { | ||
"codeclimate-test-reporter": "0.0.3", | ||
"istanbul": "^0.2.10", | ||
"chai": "*", | ||
"mocha": "*", | ||
"chai-as-promised": "~4.1.1", | ||
"jshint": "*" | ||
"jscs": "~1.6.2", | ||
"jshint": "^2.5.1" | ||
}, | ||
"main": "lib/index.js", | ||
"bin": { | ||
"gemini-coverage": "bin/gemini-coverage" | ||
"scripts": { | ||
"lint": "jshint . && jscs ." | ||
}, | ||
"scripts": { | ||
"test": "istanbul test _mocha test", | ||
"lint": "jshint" | ||
} | ||
"author": "Vladimir Alaev <scff@yandex-team.ru> (https://github.com/scf2k)", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bem/gemini-coverage.git" | ||
}, | ||
"keywords": [ | ||
"test", | ||
"testing", | ||
"screenshot", | ||
"selenium", | ||
"layout", | ||
"gemini", | ||
"coverage" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/bem/gemini-coverage/issues" | ||
}, | ||
"homepage": "https://github.com/bem/gemini-coverage" | ||
} |
@@ -1,29 +0,20 @@ | ||
# Simple gemini coverage | ||
gemini-coverage | ||
=============== | ||
[![Build Status](https://travis-ci.org/bem/gemini-coverage.svg?branch=master)](https://travis-ci.org/bem/gemini-coverage) | ||
[![Code Climate](https://codeclimate.com/github/bem/gemini-coverage/badges/gpa.svg)](https://codeclimate.com/github/bem/gemini-coverage) | ||
[![Test Coverage](https://codeclimate.com/github/bem/gemini-coverage/badges/coverage.svg?rnd=9284)](https://codeclimate.com/github/bem/gemini-coverage) | ||
Утилита для генерации html отчета на основе json отчета о покрытии тестами [gemini](http://github.com/bem/gemini). | ||
###### Инструмент позволяет получать минимальную информацию о покрытии библиотеки **gemini**-тестами. | ||
Использование | ||
----- | ||
### Установка | ||
npm install gemini-coverage | ||
./node_modules/.bin/gemini-coverage gen [путь к coverage.json] | ||
```bash | ||
npm i gemini-coverage | ||
``` | ||
### Использование | ||
По умолчанию файлы отчета будут сохранены в [текущая директори/gemini-coverage]. | ||
```bash | ||
gemini-coverage <path_to_bem_library> # (стандартный, консольный отчет) | ||
gemini-coverage <path_to_bem_library> -r html # (отчет в виде html) | ||
gemini-coverage <path_to_bem_library> -r number # (отчет в виде чисел - 3/5) | ||
``` | ||
**Опции** | ||
```js | ||
var geminiCoverage = require('gemini-coverage'); | ||
... | ||
return geminiCoverage.mkReport(path_to_bem_library, reporter) | ||
.then(function(coverage) { | ||
console.log(geminiCoverage.summarizeCoverage(coverage)); | ||
}); | ||
Создать отчет в папке path/to/report, использовать исходные файлы из path/to/source | ||
``` | ||
./node_modules/.bin/gemini-coverage gen -r path/to/source -d path/to/report [путь к coverage.json] | ||
``` |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5
2
1
1
24074
16
514
21
2
+ Addedhandlebars@~1.3.0
+ Addedhandlebars@1.3.0(transitive)
+ Addeduglify-js@2.3.6(transitive)
- Removedchalk@~0.5.1
- Removedclean-css@~2.2.12
- Removedjade@~1.5.0
- Removedlodash@~2.4.1
- Removedmkdirp@~0.5.0
- Removedansi-regex@0.2.1(transitive)
- Removedansi-styles@1.1.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@2.0.1(transitive)
- Removedcamelcase@1.2.1(transitive)
- Removedchalk@0.5.1(transitive)
- Removedcharacter-parser@1.2.0(transitive)
- Removedclean-css@2.2.23(transitive)
- Removedcommander@2.1.02.2.0(transitive)
- Removedconstantinople@2.0.1(transitive)
- Removedcss@1.0.8(transitive)
- Removedcss-parse@1.0.4(transitive)
- Removedcss-stringify@1.0.5(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-ansi@0.1.0(transitive)
- Removedis-promise@1.0.1(transitive)
- Removedjade@1.5.0(transitive)
- Removedlodash@2.4.2(transitive)
- Removedminimatch@10.0.1(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedmonocle@1.1.51(transitive)
- Removedpromise@2.0.0(transitive)
- Removedreaddirp@0.2.5(transitive)
- Removedsource-map@0.1.34(transitive)
- Removedstrip-ansi@0.3.0(transitive)
- Removedsupports-color@0.2.0(transitive)
- Removedtransformers@2.1.0(transitive)
- Removeduglify-js@2.2.52.4.24(transitive)
- Removeduglify-to-browserify@1.0.2(transitive)
- Removedwindow-size@0.1.0(transitive)
- Removedwith@3.0.1(transitive)
- Removedwordwrap@0.0.2(transitive)
- Removedyargs@3.5.4(transitive)
Updatedcoa@~0.4.0
Updatedinherit@~2.2.1
Updatedq-io@~1.11.0