# jmr

> JS轻量级测试工具

Latest version **0.0.7** (published 2020-09-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install jmr
pnpm add jmr
yarn add jmr
bun add jmr
```

Provides the command `jmr`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2020-09-16 |
| First published | 2020-07-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | xiangle |

## Links

- npm: https://www.npmjs.com/package/jmr
- npm.io page: https://npm.io/package/jmr

## Recent versions

- 0.0.7 (latest) — 2020-09-16
- 0.0.6 — 2020-09-16
- 0.0.5 — 2020-09-16
- 0.0.4 — 2020-07-27
- 0.0.3 — 2020-07-12
- 0.0.2 — 2020-07-12
- 0.0.1 — 2020-07-11

## README

# JMR

如果你用过ava、tap，会发现它们的执行速度真的很慢。特别是ava慢的难以置信，且大量占用CPU，导致糟糕的开发体验。

tape性能还不错，但它依然是个半成品，需要自行扩充，而且必须使用end()方法来结束测试代码，这样做似乎显得有些多余。


### 特性

* 启动和执行速度超快

* 轻量无依赖

* 使用ava测试代码风格，部分兼容ava测试代码

* 仅使用node.js内置的assert断言模块


### 示例

```js
const test = require('jmr')

test('sync', t => {

   t.deepEqual({ a: 1 }, { a: 1 });

   t.equal(true, true);

})

test('async', async t => {

   t.equal(true, true);

   t.ok(true);

})
```

### Install

```
npm install jmr -g
```


### cli的使用

jmr命令在无参数时会执行test目录下的所有.js测试文件。

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