# electron-node-tap

> Run node-tap in Electron.

Latest version **1.1.4** (published 2017-04-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install electron-node-tap
pnpm add electron-node-tap
yarn add electron-node-tap
bun add electron-node-tap
```

Provides the command `electron-node-tap`.

## Health

**Score 5/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2017-04-26 |
| First published | 2017-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+61 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | jwu |
| Maintainers | johnnywu |
| Keywords | Electron, Platform |

## Links

- npm: https://www.npmjs.com/package/electron-node-tap
- Repository: https://github.com/electron-utils/electron-tap
- Issues: https://github.com/electron-utils/electron-tap/issues
- npm.io page: https://npm.io/package/electron-node-tap

## Dependencies (6)

- [tap](https://npm.io/package/tap.md) ^10.3.0
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [yargs](https://npm.io/package/yargs.md) ^7.0.1
- [globby](https://npm.io/package/globby.md) ^6.1.0
- [electron](https://npm.io/package/electron.md) ^1.6.2
- [tap-mocha-reporter](https://npm.io/package/tap-mocha-reporter.md) github:electron-utils/tap-mocha-reporter#d3c1a0d

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.1.4 (latest) — 2017-04-26
- 1.1.3 — 2017-02-17
- 1.1.2 — 2017-02-17
- 1.1.1 — 2017-02-17
- 1.1.0 — 2017-02-17
- 1.0.1 — 2017-02-17
- 1.0.0 — 2017-02-06

## README

# electron-node-tap

[![Linux Build Status](https://travis-ci.org/electron-utils/electron-tap.svg?branch=master)](https://travis-ci.org/electron-utils/electron-tap)
[![Windows Build status](https://ci.appveyor.com/api/projects/status/agbtqhcwioetdloo?svg=true)](https://ci.appveyor.com/project/jwu/electron-tap)
[![Dependency Status](https://david-dm.org/electron-utils/electron-tap.svg)](https://david-dm.org/electron-utils/electron-tap)
[![devDependency Status](https://david-dm.org/electron-utils/electron-tap/dev-status.svg)](https://david-dm.org/electron-utils/electron-tap#info=devDependencies)

Tap testing in Electron. This project has two main value propositions:

  1. You can now easily test any JavaScript app in a real browser (Chromium) without hassling with PhantomJS or Webdriver.
  1. You can now easily test your Electron apps!

## Install

```bash
npm install -g electron-node-tap
```

## Run Examples:

```bash
npm start example
```

## Usage

```bash
electron-node-tap <path> [options]

Options:
  --help      Show help                                                [boolean]
  --version   Show version number                                      [boolean]
  --renderer  Run tests in renderer.                                   [boolean]
  --detail    Run test in debug mode (It will not quit the test, and open the
              devtools to help you debug it).         [boolean] [default: false]
  --reporter  Test reporter, default is 'dot'          [string] [default: "dot"]
```

If you run:

```bash
electron-node-tap ./tests
```

This runs the tests in the main process.

If you run:

```bash
electron-node-tap --renderer ./tests
```

This runs the tests in the renderer process.

## API Reference

TODO

## License

MIT © 2017 Johnny Wu

---
_Source: https://npm.io/package/electron-node-tap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
