{"repo":"avajs/ava","free":true,"listed":false,"github":"https://github.com/avajs/ava","clone":"git clone https://github.com/avajs/ava.git","description":"Node.js test runner that lets you develop with confidence 🚀","language":"JavaScript","stars":20833,"topics":["test-runner","ava","javascript","concurrency","async-functions","tap","assert","nodejs","cli","async"],"license":"MIT","category":"cli-tools","readme_excerpt":"Please support our friend Vadim Demedes and the people in Ukraine. --- AVA is a test runner for Node.js with a concise API, detailed error output, embrace of new language features and thread isolation that lets you develop with confidence 🚀 Watch this repository and follow the Discussions for updates. Read our contributing guide if you're looking to contribute (issues / PRs / etc). Translations: Español, Français, Italiano, 日本語, 한국어, Português, Русский, 简体中文 Why AVA? - 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 Usage To install and set up AVA, run: Your package.json will then look like this (exact version notwithstanding): Or if you prefer using Yarn: Alternatively you can install ava manually: Make sure to install AVA locally. AVA cannot be run globally. Don't forget to configure the test script in your package.json as per above. Create your test file Create a file named test.js in the project root directory. Note that AVA's documentation assumes you're using ES modules. Running your tests Or with npx : Run with the --watch flag to enable AVA's watch mode: Supported Node.js versions AVA supports the latest release of any major version that is supported by Node.js itse","default_branch":null,"files":null,"tree":[],"storefront":"/r/avajs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/avajs/ava/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}