Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andreswebs/describe

A simple description formatter for Deno unit tests
https://github.com/andreswebs/describe

deno deno-module test-driven-development testing-tools typescript

Last synced: 4 months ago
JSON representation

A simple description formatter for Deno unit tests

Awesome Lists containing this project

README

        

# describe

A simple description formatter for Deno unit tests.

## Usage

```typescript
import { assert } from "https://deno.land/std/testing/asserts.ts";

import { description } from "https://deno.land/x/describe/mod.ts";

Deno.test(description({
name: "what is being tested",
given: "under such conditions",
should: "do as expected"
}), () => {
assert(true);
});
```

## Test

```sh
deno test mod.test.ts
```

## Authors

**Andre Silva** - [andreswebs](https://github.com/andreswebs)

## License

This project is licensed under the [Unlicense](UNLICENSE.md).