Skip to main content

Rhum - A lightweight testing framework for Deno.

Rhum

A lightweight testing framework for Deno.


Features

  • Descriptive naming for your tests
  • Lightweight
  • Zero 3rd party dependencies
  • Simple and easy to use
  • Asynchronous support
  • Still uses Deno.test under the hood
  • Skip functionality
  • Mock requests
  • Hooks

Getting Started

To add Rhum to your project, follow the quick start guide here.

Why Use Rhum?

Rhum allows you to write tests in a very descriptive way – from a code perspective or output perspective.

Rhum is designed to aid your testing efforts – providing many utilities as wrappers around Deno’s existing Deno.test. Rhum is meant to improve the user experience when it comes to writing tests, such as:

  • Readability for test cases
  • Features that aren’t available in Deno yet (hooks)

Rhum takes concepts from the following:

  • Mocha — For how you write tests in Rhum, and the use of hooks
  • Baretest — Being minimalistic

Rhum can be added directly into any project. All you need to do is import Rhum and you are ready to start writing tests or bring your existing tests under Rhum.


Want to contribute? Follow the Contributing Guidelines here. All code is released under the MIT License.