Ava - Futuristic JavaScript test runner

  •        1087

AVA 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.

Its features include:

  • Minimal and fast
  • Simple test syntax
  • Runs tests concurrently
  • Enforces writing atomic tests
  • No implicit globals
  • Includes TypeScript definitions
  • Magic assert
  • Isolated environment for each test file
  • Promise support
  • Async function support
  • Observable support
  • Enhanced assertion messages
  • Automatic parallel test runs in CI
  • TAP reporter

https://ava.li
https://github.com/avajs/ava

Tags
Implementation
License
Platform

   




Related Projects

Japa - API-first testing framework

  •    Typescript

Japa 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.

js-must - An assertion library for JavaScript and Node

  •    Javascript

Must.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.

enzyme - JavaScript Testing utilities for React

  •    Javascript

Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.Enzyme's API is meant to be intuitive and flexible by mimicking jQuery's API for DOM manipulation and traversal.

MyTested.AspNetCore.Mvc - Fluent testing framework for ASP.NET Core MVC.

  •    CSharp

MyTested.AspNetCore.Mvc is a unit testing library providing an easy fluent interface to test the ASP.NET Core MVC framework. It is testing framework agnostic so that you can combine it with a test runner of your choice (e.g. xUnit, NUnit, etc.). It is strongly advised to start with the tutorial in order to get familiar with MyTested.AspNetCore.Mvc. Additionally, you may see the testing guide or the API reference for a full list of available features. MyTested.AspNetCore.Mvc is 100% covered by more than 1800 unit tests and should work correctly. Almost all items in the issues page are expected future features and enhancements.

chai - BDD / TDD assertion framework for node

  •    Javascript

Chai 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.


node-tap - Test Anything Protocol tools for node

  •    Javascript

A 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.

MyTested.WebApi - Fluent testing framework for ASP.NET Web API 2.

  •    CSharp

MyTested.WebApi is a unit testing library providing easy fluent interface to test the ASP.NET Web API 2 framework. It is testing framework agnostic, so you can combine it with a test runner of your choice (e.g. NUnit, xUnit, etc.). Inspired by ChaiJS. Please see the documentation for full list of available features. Everything listed in the documentation is 100% covered by more than 800 unit tests and should work correctly. Almost all items in the issues page are expected future features and enhancements.

doctest - The fastest feature-rich C++11 single-header testing framework for unit tests and TDD

  •    C++

doctest is a new C++ testing framework but is by far the fastest both in compile times (by orders of magnitude) and runtime compared to other feature-rich alternatives. It brings the ability of compiled languages such as D / Rust / Nim to have tests written directly in the production code by providing a fast, transparent and flexible test runner with a clean interface. The framework is and will stay free but needs your support to sustain its development. There are lots of new features and maintenance to do. If you work for a company using doctest or have the means to do so, please consider financial support. Monthly donations via Patreon and one-offs via PayPal.

shellspec - A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells

  •    Shell

ShellSpec is a full-featured BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells that provides first-class features such as code coverage, mocking, parameterized test, parallel execution and more. It was developed as a dev/test tool for cross-platform shell scripts and shell script libraries. ShellSpec is a new modern testing framework released in 2019, but it's already stable enough. With lots of practical CLI features and simple yet powerful syntax, it provides you with a fun shell script test environment. Version 0.28.0 has a lot of enhancements in the CLI. It is basically compatible, but there are some changes that you need to be aware of. See Migration Guide to Version 0.28.0 for details.

FORTRAN Unit Test Framework (FRUIT)

  •    Ruby

FORTRAN Unit Test Framework FRUIT - TDD in FORTRAN

dredd - Language-agnostic HTTP API Testing Framework

  •    Javascript

Dredd is a language-agnostic command-line tool for validating API description document against backend implementation of the API. Dredd reads your API description and step by step validates whether your API implementation replies with responses as they are described in the documentation.

gulp-mocha - Run Mocha tests

  •    Javascript

Keep in mind that this is just a thin wrapper around Mocha and your issue is most likely with Mocha.🔥 Want to strengthen your core JavaScript skills and master ES6? I would personally recommend this awesome ES6 course by Wes Bos. You might also like his React course.

pytest - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

  •    Python

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. Due to pytest's detailed assertion introspection, only plain assert statements are used. See getting-started for more examples.

power-assert - Power Assert in JavaScript

  •    Javascript

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.

bats-core - Bash Automated Testing System

  •    Shell

Bats is a TAP-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected. A Bats test file is a Bash script with special syntax for defining test cases. Under the hood, each test case is just a function with a description.

vstest - Visual Studio Test Platform is the runner and engine that powers test explorer and vstest

  •    CSharp

The Visual Studio Test Platform is an open and extensible test platform that enables running tests, collect diagnostics data and report results. The Test Platform supports running tests written in various test frameworks, and using a pluggable adapter model. Based on user-choice, the desired test framework and its corresponding adapter can be acquired as a vsix or as NuGet package as the case may be. Adapters can be written in terms of a public API exposed by the Test Platform.The Test Platform currently ships as part Visual Studio 2017, and in the .NET Core Tools Preview 3.

testza - Full-featured test framework for Go! Assertions, mocking, input testing, output capturing, and much more! 🍕

  •    Go

Testza is a full-featured testing framework for Go. It integrates with the default test runner, so you can use it with the standard go test tool. Testza contains easy to use methods, like assertions, output capturing, mocking, and much more. The main goal of testza is to provide an easy and fun experience writing tests and providing a nice, user-friendly output. Even developers who never used testza, will get into it quickly.

chutzpah - Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha, CoffeeScript and TypeScript

  •    Javascript

Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha, CoffeeScript and TypeScript. For comments, praise, complaints you can reach me on twitter at @mmanela.

quixote - CSS unit and integration testing

  •    Javascript

Quixote is a library for testing CSS. It's fast—over 100 tests/second—and has a powerful API. You can use it for unit testing (test your CSS files directly) or integration testing (test against a real server). Either way, your tests check how HTML elements are actually rendered by the browser. Quixote runs in the browser and works with any test framework. You can even test multiple browsers simultaneously by using a tool such as Karma or Test'em. It works in modern desktop browsers, mobile browsers, and IE 8+.






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.