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

CT Devservers should support instrumenting code coverage as a baked in option #21945

Closed
sync-by-unito bot opened this issue May 31, 2022 · 3 comments
Closed
Labels
CT Issue related to component testing

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented May 31, 2022

Summary

Currently we’re using a plugin (instrument-cra) to do this, but we could build first class support into the devservers directly that automatically instruments the code and generates code coverage reports.

┆Issue is synchronized with this Jira Task by Unito
┆author: Brian Mann
┆epic: CT Architecture
┆friendlyId: UNIFY-1701
┆priority: Low
┆sprint: Backlog
┆taskType: Task

@sync-by-unito sync-by-unito bot added CT Issue related to component testing jira-migration labels May 31, 2022
@sync-by-unito
Copy link
Author

sync-by-unito bot commented May 31, 2022

➤ Jennifer Shehane commented:

Brian Mann Would this change affect users or is this just a code refactor?

@lmiller1990
Copy link
Contributor

Related: cypress-io/cypress-documentation#5519

Integrating this to all our supported framework/bunlder combos would be a big project. For now, we are going to document how to set it up for known configurations in cypress-io/cypress-documentation#5519. We can revisit this in the future, if we decide we'd like first class support. This would mean shipping istanbul and the associated plugins in the binary.

@lmiller1990
Copy link
Contributor

This is way out of scope for the current state of things - I'd be happy to see this documented in cypress-io/cypress-documentation#5519.

If we do revisit this as an initiative, we will make a new Epic with the associated tickets, following our internal process for project work.

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

No branches or pull requests

2 participants