Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.power-assert provides descriptive assertion messages for your tests, like this.
power-assert assert assertion test testing ecmascript astDepending on the module you're loading, you may be able to paramaterize it using environment variables or auxiliary files. Babel, for instance, will load options from .babelrc at runtime.The -r flag behaves exactly like node's require, and uses the same module resolution algorithm. This means that if you need to load local modules, you have to prepend their path with ./ or ../ accordingly.
tap test harness assert browsershould is an expressive, readable, test framework agnostic, assertion library. Main goals of this library to be expressive and to be helpful. It keeps your test code clean, and your error messages helpful.It extends the Object.prototype with a single non-enumerable getter that allows you to express how that object should behave, also it returns itself when required with require.
test bdd assertA library of string validators and sanitizers. This library validates and sanitizes strings only.
validation sanitization node input validator validate sanitize sanitisation sanitise assertChai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. For more information or to download plugins, view the documentation.
assertions chai tdd bdd test assertion assert testingTest if value matches the provided predicate. Create a reusable validator.
validation type-checking nodejs npm-package type types check checking guard guards assert assertion predicate predicates is validate utility util typeof instanceof objectA simple and composable way to validate data in JavaScript. Superstruct makes it easy to define interfaces and then validate JavaScript data against them. Its type annotation API was inspired by Typescript, Flow, Go, and GraphQL, giving it a familiar and easy to understand API.
validation types interface structs schema api array assert cast check checker collection data error express hapi invalid joi json list model object orm scalar struct throw type valid validate validatorA TAP test framework for Node.js. It includes a command line test runner for consuming TAP-generating test scripts, and a JavaScript framework for writing such scripts.
assert tap test testingAVA is a test runner for Node.js with a concise API, detailed error output, embrace of new language features and process isolation that lets you develop with confidence. AVA automatically detects whether your CI environment supports parallel builds. Each build will run a subset of all test files, while still making sure all tests get executed. It automatically removes unrelated lines in stack traces, allowing you to find the source of an error much faster.
test-runner test-framework assertion unit-testing babel tap cli tdd assertExpressive and versatile end-to-end HTTP API testing made easy in Go (golang), built on top of gentleman HTTP client toolkit.Take a look to the examples to get started.
http testing expectations assert http-api-debug gentleman json-schemachai-jquery is an extension to the chai assertion library that provides a set of jQuery-specific assertions. Note that jquery.js and chai.js can be inserted one before another (order does not matter here).
chai chai-plugin vendor browser-only dom test assertion assert testing:interrobang:轻量级的JavaScript表单验证,字符串验证。没有依赖,支持UMD,~3kb。
validator form validatorjs assert validate validation sanitize validator.tool validator.js sanitization sanitisation sanitiseJapa is an API-first testing framework. It focuses only on testing Node.js (backend) applications, thus resulting in a fast, small, and simple tests runner.
testing test-framework test-runners tests testing-tool assert datasetNUnit test helper class. Traditionally NUnit stops test on the first check failure. But sometimes subsequent rules check may helps with bug location.
assert assertions nunit tdd testMust.js is a testing and assertion library for JavaScript and Node.js with a friendly BDD syntax (awesome.must.be.true()). It ships with many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well testsed stuff. For those new to testing JavaScript on Node.js, you'll also need a test framework (also called a test-runner or a harness) to run your tests. One such tool is Mocha.
assert assertion bdd test testing rfc2119This project welcomes contributors. If you have a feature you'd like to see implemented or a bug you'd liked fixed, the best and fastest way to make that happen is to implement it and submit a PR. Basic knowledge of JS is sufficient. Feel free to ask for any guidance. To use it from CLI Install it globally with -g option.
fast-xml-parser xml2json xml2js fast xml parser js json cli command-line validator validate js2xml json2xml rapid locale nimn xml2nimn x2js traversable command transformer checker assert big htmlThe assert module from Node.js, for the browser. With browserify, simply require('assert') or use the assert global and you will get this module.
browserify assert node-shim browser
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.