# testdeck 

This is the monorepo for the testdeck packages.

## Packages

- [@testdeck/mocha](./packages/mocha)
- [@testdeck/jasmine](./packages/jasmine)
- [@testdeck/jest](./packages/jest)
- [@testdeck/di-typedi](./packages/di-typedi)
- [@testdeck/core](./packages/core)

## Build

Clone this repository using

```
git clone https://github.com/testdeck/testdeck.git
```

Then from inside the so created `testdeck` directory run

```
npm install 
```

This will install all required dependencies and will also bootstrap `lerna`.

The following npm scripts are available

- `npm run tslint`      -- runs `tslint` on all sources in all available packages
- `npm run tslint-fix`  -- runs `tslint --fix` on all sources in all available packages
- `npm test`            -- run all tests on all available packages

## Resources 

- [Official Documentation](https://testdeck.org)
- [Usage: npm-stat.js](https://npm-stat.com/charts.html?package=mocha-typescript&package=%40testdeck%2Fmocha&package=%40testdeck%2Fjest&package=%40testdeck%2Fmocha&package=%40testdeck%2Fjasmine)

# testdeck 

The JavaScript OOP style tests!

```TypeScript
// Use one of the mocha/jest/jasmine test runners:
import { suite, test } from "@testdeck/mocha";
import { suite, test } from "@testdeck/jest";
import { suite, test } from "@testdeck/jasmine";

// And write your tests like:
import { expect } from 'chai';

@suite
class Hello {
  
  @test
  world() {
    expect(false).to.be.true;
  }
}
```

## Packages
This is the monorepo for the testdeck packages.

- [@testdeck/mocha](./packages/mocha)
- [@testdeck/jasmine](./packages/jasmine)
- [@testdeck/jest](./packages/jest)
- [@testdeck/di-typedi](./packages/di-typedi)
- [@testdeck/core](./packages/core)

## Build

Clone this repository using

```
git clone https://github.com/testdeck/testdeck.git
```

Then from inside the so created `testdeck` directory run

```
npm install 
```

This will install all required dependencies and will also bootstrap `lerna`.

The following npm scripts are available

- `npm run tslint`      -- runs `tslint` on all sources in all available packages
- `npm run tslint-fix`  -- runs `tslint --fix` on all sources in all available packages
- `npm test`            -- run all tests on all available packages

## Resources 

- [Official Documentation](https://testdeck.org)
- [Usage: npm-stat.js](https://npm-stat.com/charts.html?package=mocha-typescript&package=%40testdeck%2Fmocha&package=%40testdeck%2Fjest&package=%40testdeck%2Fmocha&package=%40testdeck%2Fjasmine)

Add a short example in the readme
Add a short example in the readme

We need this so people randomly landing on the monorepo, will have idea what testdeck is about.