All Projects β†’ unional β†’ jest-watch-suspend

unional / jest-watch-suspend

Licence: MIT license
Suspending jest watch mode

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to jest-watch-suspend

SHAFT ENGINE
SHAFT is an MIT licensed test automation engine. Powered by best-in-class frameworks like Selenium WebDriver, Appium & RestAssured it provides a wizard-like syntax to increase productivity, and built-in wrappers to eliminate boilerplate code and to ensure your tests are extra stable and your results are extra reliable.
Stars: ✭ 170 (+1207.69%)
Mutual labels:  testing-tools
ruby-dns-mock
DNS mock server written on πŸ’Ž Ruby. Mimic any DNS records for your test environment with fake DNS server.
Stars: ✭ 50 (+284.62%)
Mutual labels:  testing-tools
diferencia
Tool to detect regressions between services
Stars: ✭ 51 (+292.31%)
Mutual labels:  testing-tools
meteorman
A DDP client with GUI (The Postman for Meteor)
Stars: ✭ 51 (+292.31%)
Mutual labels:  testing-tools
network image mock
Mock response for Image.network to help Flutter widget tests pass.
Stars: ✭ 22 (+69.23%)
Mutual labels:  testing-tools
react-router-testing-utils
A collection of utilities to test React Router with React Testing Library (Work in progress 🚧)
Stars: ✭ 34 (+161.54%)
Mutual labels:  testing-tools
selenium-auto-wait
Utility to automatically manage all web element waits and enables to write wait-free selenium tests.
Stars: ✭ 31 (+138.46%)
Mutual labels:  testing-tools
evolutio
ab testing framework with automated code removing
Stars: ✭ 15 (+15.38%)
Mutual labels:  testing-tools
blackhole
Blackhole is an MTA written on top of asyncio, utilising async and await statements that dumps all mail it receives to /dev/null.
Stars: ✭ 61 (+369.23%)
Mutual labels:  testing-tools
distest
A library used to do integration testing on discord bots
Stars: ✭ 29 (+123.08%)
Mutual labels:  testing-tools
awesome-cypress
πŸŽ‰ A curated list of awesome things related to Cypress
Stars: ✭ 274 (+2007.69%)
Mutual labels:  testing-tools
mock-hls-server
Fake a live/event HLS stream from a VOD one. Useful for testing. Supports looping.
Stars: ✭ 61 (+369.23%)
Mutual labels:  testing-tools
DebugWindow
δΈ€δΈͺεœ¨ηœŸζœΊδΈŠζ΅‹θ―•ζ—Άζ–ΉδΎΏζŸ₯ηœ‹θΎ“ε‡Ίζ—₯εΏ—ηš„ε°ε·₯具。(A debug tool which helps you view the console logs on the device when you test you APP.)
Stars: ✭ 36 (+176.92%)
Mutual labels:  testing-tools
vividus-starter
VIVIDUS-based test project template
Stars: ✭ 43 (+230.77%)
Mutual labels:  testing-tools
mocat
🐈 Mocat is a mocking toolbar that allows you to interactively develop and test network requests.
Stars: ✭ 27 (+107.69%)
Mutual labels:  testing-tools
ContractTestingBoilerplate
Contract Testing Boilerplate for the microservices developed using Spring Boot and Kafka in a maven multi-module project.
Stars: ✭ 36 (+176.92%)
Mutual labels:  testing-tools
pymongo inmemory
A mongo mocking library with an ephemeral MongoDB running in memory.
Stars: ✭ 25 (+92.31%)
Mutual labels:  testing-tools
tools
Tools used for Penetration testing / Red Teaming
Stars: ✭ 63 (+384.62%)
Mutual labels:  testing-tools
ts-mock-imports
Intuitive mocking library for Typescript class imports
Stars: ✭ 103 (+692.31%)
Mutual labels:  testing-tools
json-crate
πŸ“¦ json-crate: a minimalistic promise-based json database
Stars: ✭ 29 (+123.08%)
Mutual labels:  testing-tools

jest-watch-suspend

NPM version NPM downloads Mentioned in Awesome Jest

Circle CI Travis CI Codecov Coveralls Status

Greenkeeper Semantic Release

Visual Studio Code Wallaby.js

Pausing/resuming jest watch mode.

Requires jest@23+.

Usage

To use jest-watch-suspend, add it to the watchPlugins section of the Jest configuration:

{
  "jest": {
    "watchPlugins": [
      // default
      "jest-watch-suspend",
      // configure
      [
        "jest-watch-suspend", {
          // override key press
          "key": "s",
          // override prompt
          "prompt": "suspend watch mode",
          // starts in suspend mode
          "suspend-on-start": true
        }
      ]
    ]
  }
}

Use Cases

Suspend on start:

  • (suspended) ➣ [p] + <filter> | [t] + <filter> ➣ [s] (resume)

Setup both path and name filter before running tests:

  • [s] (suspend) ➣ [p] + <filter> & [t] + <filter> ➣ [s] (resume)

Change multiple files before running tests:

  • [s] (suspend) ➣ multiple changes and file saves ➣ [s] (resume)

Run code coverage after running some test.only() tests:

  • [s] (suspend) ➣ change test.only() back to test() & [e] (with jest-watch-toggle-config) ➣ [s] (resume)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].