Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Run tests from a specific folder #3574

Closed
ArmandoAmmar opened this issue Feb 24, 2019 · 7 comments
Closed

Run tests from a specific folder #3574

ArmandoAmmar opened this issue Feb 24, 2019 · 7 comments

Comments

@ArmandoAmmar
Copy link

Current behavior:

Currently I have not found a way to run the tests from just certain folders.

Desired behavior:

It would be interesting that in addition to run spec all, the cypress allowed to execute the tests by folders.

@bahmutov
Copy link
Contributor

bahmutov commented Feb 24, 2019 via email

@Saibamen
Copy link
Contributor

Saibamen commented Feb 24, 2019

Can be closed.
Add this to your cypress.json:

"integrationFolder": "C:\\test test"

or:

"integrationFolder": "C:/test test"

Changing files to run:

"testFiles": "**/*.spec.js",

@ArmandoAmmar
Copy link
Author

ArmandoAmmar commented Feb 24, 2019

Got it.
But what I was saying is that there could be only one button in the cypress interface to run a specific folder.

@Saibamen
Copy link
Contributor

Maybe someday will be a settings view for all config variables ;)

@bahmutov
Copy link
Contributor

bahmutov commented Feb 24, 2019 via email

@Lakitna
Copy link
Contributor

Lakitna commented Feb 26, 2019

You might be referring to what's described in #1586

@Saibamen
Copy link
Contributor

So this issue can be closed

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants