Skip to content

Eslint Plugin that allows only one describe and it calls per file so is easier to parallelize their use

Notifications You must be signed in to change notification settings

vtex/eslint-plugin-cypress-parallelize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-cypress-parallelize

Allow only one describe and it calls per file so is easier to parallelize their use.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-cypress-parallelize:

$ npm install eslint-plugin-cypress-parallelize --save-dev

Usage

This plugin and it's rule were designed to be included in a file at cypress/integration/.eslintrc

This file should look like this:

{
    "plugins": [
        "cypress-parallelize"
    ],
    "rules": {
        "cypress-parallelize/allow-only-one-test-per-file": 2
    }
}

Supported Rules

  • allow-only-one-test-per-file: Currently its only rule that alert when you use multiple describes or its on a test file

About

Eslint Plugin that allows only one describe and it calls per file so is easier to parallelize their use

Resources

Stars

Watchers

Forks

Packages

No packages published