# mocha-test-generator

> Generates tests folders with template contents

Latest version **1.1.5** (published 2022-02-13) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install mocha-test-generator
pnpm add mocha-test-generator
yarn add mocha-test-generator
bun add mocha-test-generator
```

Provides the command `mtg`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2022-02-13 |
| First published | 2022-02-13 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 15.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | bsnk-dev |
| Maintainers | bsnk-dev |
| Keywords | mocha, test, generator, template, folder, bsnk-dev |

## Links

- npm: https://www.npmjs.com/package/mocha-test-generator
- Repository: https://github.com/bsnk-dev/mocha-test-generator
- Homepage: https://github.com/bsnk-dev/mocha-test-generator#readme
- Issues: https://github.com/bsnk-dev/mocha-test-generator/issues
- npm.io page: https://npm.io/package/mocha-test-generator

## Dependencies (1)

- [yargs](https://npm.io/package/yargs.md) ^16.2.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.1.5 (latest) — 2022-02-13
- 1.1.4 — 2022-02-13

## README

# Mocha Test Generator (MTG)

Mocha test generator is a simple test set generator.

# Installing

    npm i -g mocha-test-generator

# Building and Installing

1. ```npm i```

2. ```npm run build```

3. ```npm pack```

4. ```npm install -g [generated_file_name]```

# CLI

- Generate a set of test files that support multiple suites
  ```mtg -f [path/to/file name]```

- Generate a new test suite for a set of test files
  ```mtg -f [path/to/file name] -s [suite name]```

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