convert line comment to assert.
Convert comment to assert. runtime assert
The assert module from Node.js, for the browser.
calculates width of given string
Synchronous validation of a path existing either as a file or as a directory.
Replace commented expressions with assert statements
minimalistic-assert ===
Is this specifier a node.js core module?
Asserts the node version against one from the package.json or .nvmrc file
Extra assertions on top of node's assert module
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
TypeScript definitions for http-assert
correct invalid SPDX expressions
A helper to optimistically set Symbol.toStringTag, when possible.
assert with status codes
A robust, ES3 compatible, "has own property" predicate.
Is this value a JS ArrayBuffer?
What is the type of this builtin JS value?
Is this value a JS SharedArrayBuffer?
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?
Like a Set, but provides the index of the `key` in the backing array
Which kind of boxed JS primitive is this?
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
In ruby we use `# =>` as a comment marker that mean the immediately adjacent expression's expected value. There are gems like xmpfilter / seening_is_believing, which are to generate such comments. They are very useful. But so far we lack feature that does vice-versa; to check if the comment is actually the output of the expression. This is the library that does it.
Doctest for markdown with comment-based assertions. Python/JavaScript/Ruby/PHP test runners and hackmd.io integration.
A custom RuboCop cop that checks test blocks contain arrange/act/assert comments in order.
TestBench::Session implements the core testing mechanisms of TestBench: tests, contexts, comments, assertions, and test file execution. Sessions also maintain the pass/fail status of the test run. A diagnostic substitute session is also included that records session telemetry so that test abstractions built using TestBench (called "Fixtures") can observed and tested in isolation.