Skip to main content

describe

A simple description formatter for Deno unit tests.

Usage

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

import { describe } from "https://raw.githubusercontent.com/andreswebs/describe/master/mod.ts";

Deno.test(describe({
  name: "what is being tested",
  given: "under what conditions",
  should: "what should happen"
}), () => {
  assert(true);
})

Authors

Andre Silva andreswebs

License

This project is licensed under the Unlicense.