“Cypress Open vs Cypress Run” Kode Jawaban

Cypress menjalankan tes spesifik

cypress run --spec 'path/to/files/*.spec.js'
Quaint Quetzal

Cypress menjalankan semua file di folder

I think you're looking for --spec path/to/folder/*.js

You can run all the tests in a folder, or even in all subfolders of a folder

example:  --spec cypresss/integration/subsetA/**/*.js
would run all .js files in all folders under the "subsetA" folder in cypress/integration.
Batman

Cypress Open vs Cypress Run

Open will open the cypress Test runner.io whereas run is used to run the commands given in package.json file
March baby

Jawaban yang mirip dengan “Cypress Open vs Cypress Run”

Pertanyaan yang mirip dengan “Cypress Open vs Cypress Run”

Lebih banyak jawaban terkait untuk “Cypress Open vs Cypress Run” di JavaScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya