Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gemini-coverage

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gemini-coverage - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

.jscsrc

64

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc