📜  cypress 运行特定测试 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:54.048000             🧑  作者: Mango

代码示例5
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.