iamtest
[![Latest Stable Version](https://img.shields.io/npm/v/iamtest.svg)](https://www.npmjs.com/package/iamtest) [![Build Status](https://img.shields.io/travis/amokrushin/iamtest/master.svg)](https://travis-ci.org/amokrushin/iamtest) [![Test Coverage](https://
Last updated 2 years ago by amokrushin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install iamtest 
SYNC missed versions from official npm registry.

iamtest

Latest Stable Version Build Status Test Coverage Dependency Status License

Installation

# with npm
$ npm i iamtest -D

# with yarn
$ yarn add iamtest -D

Optional configuration

.iamtest.js

module.exports = {
    rootPath: 'src/tests',
    ignorePath: [],
};

Usage

global

$ iamtest

local

$ npx iamtest
$ BABEL_ENV=test npx iamtest --babel

package.json

{
  "script": {
    "test": "iamtest"
  }
}
Options:
  -r, --reporter  test reporter
        [choices: "dots", "spec", "summary", "tape", "silent"] [default: "dots"]
  -c, --coverage  coverage reporter
        [choices: "console", "html", "json", "json-summary", "lcov", "lcovonly",
                                            "text", "text-lcov", "text-summary"]
  --web           web server for coverage report                        [number]
  -w, --watch     watch for changes                                    [boolean]
  --child         child process                                        [boolean]
  --verbose       debug log                                            [boolean]
  --coverageDir   see nyc --report-dir                                  [string]
  --babel         babel                                                [boolean]
  --flow          flow remove types                                    [boolean]
  -h, --help      Show help                                            [boolean]

Example

package.json

{
  "script": {
    "test": "iamtest",
    "test:unit": "iamtest ./test/unit/*",
    "codecov": "iamtest ./test/unit/* -c lcovonly && codecov"
  }
}

Current Tags

  • 1.5.6                                ...           latest (2 years ago)

9 Versions

  • 1.5.6                                ...           2 years ago
  • 1.5.5                                ...           2 years ago
  • 1.5.4                                ...           2 years ago
  • 1.5.3                                ...           3 years ago
  • 1.5.2                                ...           3 years ago
  • 1.5.1                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (14)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |