A simple way to unit-test callbacks
assert && log util
minimalistic-assert ===
The assert module from Node.js, for the browser.
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
Synchronous validation of a path existing either as a file or as a directory.
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?
Which kind of boxed JS primitive is this?
Is this value a JS SharedArrayBuffer?
What is the type of this builtin JS value?
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Test if a value is a function.
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.
Is this specifier a node.js core module?
`Object.defineProperty`, but not IE 8's broken one.
A utility package for JavaScript applications.
Robustly get the length of a Typed Array
A helper to optimistically set Symbol.toStringTag, when possible.
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.
Easy error logging and assertions..
Testing device for the lumberjack gem that can be used for asserting messages have been logged in a test suite.
The Soft Assert gem enhances testing capabilities with flexible assertion methods.Unlike traditional assertions, Soft Assert does not interrupt test execution on failure. Instead, it logs errors and continues testing, allowing you to identify and review all failures simultaneously. This gem integrates smoothly with leading testing frameworks, including Minitest and Test::Unit, making comprehensive testing more efficient. To utilize Soft Assert effectively, simply use its assertion methods during testing. Then, conclude with SoftAssert.assert_all to review and fail the test if any failures were captured.
Contains core classes and interfaces for building event logger implementations. Also includes helper classes for incorporating assertions about event logging into unit and functional test code.
must_be provides runtime assertions which can easily be disabled in production environments. Likewise, the notifier can be customized to raise errors, log failure, enter the debugger, or anything else.
An amazingly simple way to test & debug with assertions -- right in your code! Allows you to test inline without writing any seperate unit tests as everything is mixed into pour code. This helps ensure, for web apps like Rails, that if something has gone wrong that shouldn't it gets reported in your logs without having to worry about exception raising and rescuing. Want a unit testing library? This small library can get you started in the right direction!
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.