minimalistic-assert ===
The assert module from Node.js, for the browser.
Synchronous validation of a path existing either as a file or as a directory.
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
correct invalid SPDX expressions
assert with status codes
A robust, ES3 compatible, "has own property" predicate.
Extra assertions on top of node's assert module
Is this value a JS ArrayBuffer?
Is this value a JS SharedArrayBuffer?
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Which kind of boxed JS primitive is this?
Is this specifier a node.js core module?
What is the type of this builtin JS value?
Robustly get the length of a Typed Array
`Object.defineProperty`, but not IE 8's broken one.
A helper to optimistically set Symbol.toStringTag, when possible.
ES Object-related atoms: Object, ToObject, RequireObjectCoercible
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Is this value a JS DataView? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
A simple list of possible Typed Array names.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
A comprehensive set of matcher-based assertions and expectations for easier testing. Supports checking properties of numbers, objects, enum variants, collections, panics, and more. Stuctural matching enables you to integrate matchers into struct decompositions for less code repetition. It's easy to write your own matchers for assertions too. This crate will be part of the galvanic test framework (in development). You can also use the assertions in another test framework of your choice. Works on: stable, beta, and nightly
A behaviour-driven mocking framework for generic traits. Create mocks for (multiple) traits in a behaviour-driven development mocking framework. Define the behaviour of mocks and expected method calls using argument patterns. Supports mocking of generic traits and generic methods. Requires: nightly
A testing framework for setting up and tearing up test fixtures/environments with support for parameterised test cases. This crate is part of galvanic---a complete test framework for Rust.