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

Latest commit

 

History

History
28 lines (22 loc) · 719 Bytes

6.ProjectConfiguration.md

File metadata and controls

28 lines (22 loc) · 719 Bytes

Configurations

Project Configuration

A user can create cytorus.config.js on project's root to control Cytorus behavior. e.g.

const generateCucumberReport = require('./config/cucumberReport');

module.exports = {
    runConfig: {
        docker: {
            env: [ "CYPRESS_RECORD_KEY",  "CYPRESS_VIDEO" ]
        }
    },
    init: async function(){
        //start your application or poll if it starts before initiating tests
    },
    end: async function(){
        await generateCucumberReport();
    },
    threshold: require("./config/thresholdStrategies")
}

Cypress related configuration will go in cypress.json.

> Next : Threshold Strategies to keep the builds green