An open API service indexing awesome lists of open source software.

https://github.com/wolfpup-software/jackrabbit-js

a test runner for TS / JS
https://github.com/wolfpup-software/jackrabbit-js

ecmascript javascript testing testing-tools tests typescript

Last synced: 7 months ago
JSON representation

a test runner for TS / JS

Awesome Lists containing this project

README

        

# Jackrabbit

Tests without dependencies.

A test runner without dependencies.

## Basics

A `test` is a function that returns `assertions`.

A `test module` is an array of `tests` (exported by a javascript module).

A `test collection` is an array of `test modules` (exported by a javascript module).

A `test runner` loads `test collections` and logs test results.

Jackrabbit is a test runner.

## Tests

See [this guide](./JACKRABBIT.md) to create jackrabbit tests.

## Nodejs

### Install

Install jackrabbit with npm via github.

```sh
npm install --save-dev https://github.com/wolfpup-software/jackrabbit-js
```

### Run Test Collections

```sh
npx jackrabbit --file ./path/to/test/collection/mod.ts
```

## License

BSD 3-Clause License