Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Latest commit

 

History

History
51 lines (36 loc) · 1.37 KB

1.GettingStarted.md

File metadata and controls

51 lines (36 loc) · 1.37 KB

Getting Started

Pre-requisite

  1. Install Nodejs v12+

Project Setup

  1. Clone or download cytorus-boilerplate.
  2. Run npm install in root folder

To run tests in parallel, you'll need a few more dependencies so follow parallel run configuration.

Directory Structure

Cytorus relies on Cypress. Hence, it uses the same directory structure.

ProjectRoot
    |__cypress
    |        |___ fixtures
    |        |___ integration
    |                |___ features
    |                |___ steps
    |        |___ plugins
    |        |___ reports
    |        |___ screenshots
    |        |___ support
    |__package.json
    |__cypress.json
    |__cytorus.config.js

Cytorus reads feature files from cypress/integration/features folder. However, step definitions can exist anywhere inside cypress/integration/ folder.

cypress.json

You need this minimum configuration in cypress.json

{
    "projectId": "of-your-wish", //for parallel run
    "ignoreTestFiles": ["*.js","*.ts", "*.d_ts", "*.json", "*.xml"],
}

cytorus.config.json

It is optional. But check configuration that you can set to use more features from Cytorus.

> Next : Writing Feature File and step definitions