power-assert

Assertion library

A JavaScript assertion library that provides descriptive error messages through the standard assert interface.

Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.

GitHub

3k stars
42 watching
68 forks
Language: JavaScript
last commit: almost 2 years ago
Linked from 2 awesome lists

assertpower-assert

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
power-assert-js/espowerify A browserify transform that applies the espower feature to power-assert assertions in JavaScript code. 17
power-assert-js/karma-espower-preprocessor Preprocesses JavaScript source code with espower-source to enable assertion testing 10
power-assert-js/babel-plugin-espower A Babel plugin that enhances assertion messages in JavaScript tests for more informative error descriptions. 93
assertj/assertj A library providing easy-to-use rich typed assertions for unit testing in Java. 2,633
ma2gedev/power_assert_ex Provides an assertion library that evaluates expressions and displays results in Elixir tests 214
automattic/expect.js An assertion toolkit for Node.js and the browser 2,107
k-tsj/power_assert A tool for inspecting the values of variables and method calls in Ruby expressions 1
gfx/android-power-assert-plugin A plugin that adds extra information when assertions fail in Android applications and unit tests. 46
dekujs/assert-element A set of assertions for working with virtual DOM nodes in Deku/React applications 16
gpakosz/ppk_assert A lightweight assertion library with customizable message formatting and severity levels 203
chaijs/chai A testing framework that provides multiple assertion styles and plugins for Node.js and browser development. 8,140
joubertredrat/assert-true A collection of PHP assertions to help verify true conditions in unit tests 19
syntax-tree/hast-util-assert Utility to verify correctness of nodes in HTML/Markdown parsing trees 1
substance/substance A JavaScript library for building custom text editors and web-based publishing systems. 2,751
beberlei/assert A thin assertion library providing low-level input validation and guard methods for PHP applications. 2,407