Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cypress test only one file

cypress run --spec path/to/file.spec.js

// Ex: package.json
{
	"scripts": {
    	"unit-testing": "cypress run --spec path/to/file.spec.js"
    }
}

// npm run unit-testing
 
PREVIOUS NEXT
Tagged: #cypress #test #file
ADD COMMENT
Topic
Name
4+8 =