cypress

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package cypress assemble all commands required to run cypress unit testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cypress

type Cypress struct {
	ApiURL     string // HTTP(s) api url of cypress-parallel-api
	Repository string // HTTP(s) git repository
	Username   string // Username to use to fetch repository if required
	Password   string // Password to use to fetch repository if required
	Branch     string // Branch in which specs are hold
	Specs      string // Comma separated list of specs
	UniqID     string // Uniq ID to run cypress command
	Browser    string // Default browser to use to run unit testing
	ConfigFile string // Relative path of cypress config if not cypress.config.js
	ReportBack bool   // Notify api with cypress results
	Timeout    int    // Timeout after which the program will exit with error
}

Cypress requirements to run cypress command

func (*Cypress) Run

func (c *Cypress) Run()

Run will run cypress command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL