The smallest possible assertion library with 0 extra features
Synchronous validation of a path existing either as a file or as a directory.
Power Assert in JavaScript
minimalistic-assert ===
The assert module from Node.js, for the browser.
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.
Is this value a JS ArrayBuffer?
Extra assertions on top of node's assert module
Is this value a JS SharedArrayBuffer?
Generic options parameter handling.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Is this specifier a node.js core module?
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?
What is the type of this builtin JS value?
`Object.defineProperty`, but not IE 8's broken one.
A helper to optimistically set Symbol.toStringTag, when possible.
Robustly get the length of a Typed Array
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.
Lets you add asssertions to your code, not just your tests, using a very clean and simple syntax
Custom assertions functions. This is the beginning of a small lightweight BDD project. Currently, this is just a very simple code sample that only displays a custom message in green or in red depending on the value of a predicate.
minitest-macruby provides extensions to minitest for macruby UI testing. It provides a framework to test GUI apps in a live instance. Documentation and examples are light at the moment as I've just thrown this together. Suggestions for extensions are very welcome! Currently it provides the following methods in minitest's assertions: * self.run_macruby_tests * find_ui_menu(*path) * find_ui_menu_items menu * assert_ui_menu menu, *items * find_ui_menu_item(*path) * assert_ui_action obj, target, action, key = nil * assert_ui_binding item, binding_name, target, path
Sometimes when you hear about a new library/gem you just wat to kick the kick_the_tires to see what it can do. Sometimes you start with some REPL example from the authors or some sample code or tests that the author has provided. This little gem allowed_push_host you to load up a few basic asserts/refutes/shows to explore the library's objects and method results. When you have finished kicking the tires you may want to take the library out for a spin with some functional, application-line code and you don't want any of the tire kicking out to STDOUT.
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.