{"repo":"javierbrea/cypress-fail-fast","free":true,"listed":false,"github":"https://github.com/javierbrea/cypress-fail-fast","clone":"git clone https://github.com/javierbrea/cypress-fail-fast.git","description":"A Cypress plugin to skip tests on first failure.","language":"TypeScript","stars":122,"topics":["cypress","cypress-plugin","abort","fail-fast","failure-handling","failure","testing","testing-tools","automated-testing","plugin"],"license":"MIT","category":"dev-tools","readme_excerpt":"[![Build status][build-image]][build-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Quality Gate][quality-gate-image]][quality-gate-url] [![Last commit][last-commit-image]][last-commit-url] [![Last release][release-image]][release-url] [![NPM downloads][npm-downloads-image]][npm-downloads-url] [![License][license-image]][license-url] Cypress Fail Fast Skip the rest of your Cypress tests after the first failure. With Cypress Fail Fast, you can: - Skip all remaining tests in the current spec file, or in the entire run, depending on the configured strategy. - Control fail-fast behavior at a per-test or per-suite level, so you can choose which failures should trigger fail-fast mode and which should not. - Set hooks to: - Run when fail-fast mode is triggered, so you can perform custom actions. - Trigger fail-fast mode at any moment based on custom logic. - Example use case: Coordinate multiple parallel runs so that when fail-fast mode is triggered in one run, the others start skipping tests as well. Table of Contents - Installation - How it works - Configuration - Plugin options - Per-test configuration - Examples - Hooks - Limitations - Usage with TypeScript - Compatibility - Contributing - License Installation Add the plugin to your devDependencies : Then register the plugin in your Cypress configuration ( cypress.config.ts or cypress.config.js ): At the top of your support file (for example cypress/support/e2e.ts or cypress/support/e2e.js ): From now on, once a te","default_branch":null,"files":null,"tree":[],"storefront":"/r/javierbrea","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/javierbrea/cypress-fail-fast/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."}