Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Allow to Coverage directory to be saved at custom path #13

Open
Sathish787 opened this issue Sep 10, 2022 · 1 comment
Open

Allow to Coverage directory to be saved at custom path #13

Sathish787 opened this issue Sep 10, 2022 · 1 comment

Comments

@Sathish787
Copy link

Currently, coverage directory is created at root level of the project and could not able to save it into custom path/directory.

For example: I wanted to have coverage dir under user created testresult dir rather than in root directory

Thanks
Sathish

@clazette
Copy link

clazette commented Oct 20, 2022

I have the same need. We have custom config files under cypress/config so the coverage folder is created in the config folder due to that being the location at which the plugin is registered with setupNodeEvents(). Since there isn't a way to specify the coverage folder's path, the result is this unintuitive location. It would be nice to have the ability to specify a path.

Setting the report-dir property doesn't seem to work. Regardless of that setting, the coverage folder appears to be placed wherever setupNodeEvents() is defined.

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

No branches or pull requests

2 participants