https://github.com/amokrushin/iamtest
tape test runner
https://github.com/amokrushin/iamtest
tape testing
Last synced: 5 months ago
JSON representation
tape test runner
- Host: GitHub
- URL: https://github.com/amokrushin/iamtest
- Owner: amokrushin
- License: mit
- Created: 2016-11-24T04:29:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-30T21:10:57.000Z (over 8 years ago)
- Last Synced: 2025-10-25T10:31:18.187Z (8 months ago)
- Topics: tape, testing
- Language: JavaScript
- Homepage:
- Size: 169 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# iamtest
[](https://www.npmjs.com/package/iamtest)
[](https://travis-ci.org/amokrushin/iamtest)
[](https://codecov.io/github/amokrushin/iamtest?branch=master)
[](https://david-dm.org/amokrushin/iamtest)
[](https://raw.githubusercontent.com/amokrushin/iamtest/master/LICENSE.txt)
## Installation
```bash
# with npm
$ npm i iamtest -D
# with yarn
$ yarn add iamtest -D
```
## Optional configuration
`.iamtest.js`
```js
module.exports = {
rootPath: 'src/tests',
ignorePath: [],
};
```
## Usage
global
```bash
$ iamtest
```
local
```bash
$ npx iamtest
$ BABEL_ENV=test npx iamtest --babel
```
package.json
```json
{
"script": {
"test": "iamtest"
}
}
```
```bash
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
```json
{
"script": {
"test": "iamtest",
"test:unit": "iamtest ./test/unit/*",
"codecov": "iamtest ./test/unit/* -c lcovonly && codecov"
}
}
```