# tstjs

> A testing microframework

Latest version **0.4.1** (published 2016-11-22) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

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

## 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.4.1 |
| Published | 2016-11-22 |
| First published | 2016-11-10 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Michael Calvey |
| Maintainers | calveym |

## Links

- npm: https://www.npmjs.com/package/tstjs
- Repository: https://github.com/calveym/tstjs
- Homepage: https://github.com/calveym/tstjs#readme
- Issues: https://github.com/calveym/tstjs/issues
- npm.io page: https://npm.io/package/tstjs

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3

## Recent versions

- 0.4.1 (latest) — 2016-11-22
- 0.4.0 — 2016-11-22
- 0.3.1 — 2016-11-15
- 0.3.0 — 2016-11-15
- 0.2.0 — 2016-11-13
- 0.1.1 — 2016-11-11
- 0.1.0 — 2016-11-11
- 0.0.1 — 2016-11-10

## README

# tst.js
A testing microframework for javascript.

## Authors:
Michael Calvey

## TODO:
This microframework is still in very early stages. Therefore, many features necessary for a fully functioning test suite are not yet implemented. Here is a list of the features that are up next in the pipeline:

- Export the methods(!!!)
- Add more matchers.

## HOW TO USE:
Unfortunately, at the moment the package is not yet importable as a module. This is coming soon! For the time being, the code in `src/main.js` needs to be copied into the file to be tested.
Here is a code snippet that sets up a unit test:

```javascript
var name = 'john';

describe("#name", [
  (function () {
  it("returns john", function () {
    return assert(name).toBe('john');
  });
}),
  (function () {
  it("returns multiple john", function () {
    return assert(name + name + name).toNotBe('john');
  });
})]);
```

This readme is being updated! Please check back soon- there will be lots more here!

## License:
SEE LICENSE


NB while running, tests are stored in a hash of arrays

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