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

Test coverage issue in React Native #4306

Open
1 task done
z7edge opened this issue Dec 21, 2023 · 3 comments
Open
1 task done

Test coverage issue in React Native #4306

z7edge opened this issue Dec 21, 2023 · 3 comments

Comments

@z7edge
Copy link

z7edge commented Dec 21, 2023

What happened?

I am using Detox with Cucumber for BDD test report. All test feature is working fine. Then I installed nyc (Istanbuljs) plugin for generating detailed test coverage report but that is not covering React components.

What was the expected behaviour?

No response

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 20.11.4
React Native version: 0.72.6
Has Fabric (React Native's new rendering system) enabled: (yes/no) yes
Node version: 16.15.0
Test-runner (select one): other (cucumber)

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste logs here!

More data, please!

Screenshot 2023-12-21 at 10 44 48 AM
@noomorph
Copy link
Collaborator

This is one of unsolved feature requests. No one wrote up until now an adapter that would get coverage from an instrumented RN app code.

There's no clear ETA for this now.

@aaronpliu
Copy link

how abt Jest coverage? would cover all src/ and ignore some of files you specified.

Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this repository, read this discussion.

@stale stale bot added the 🏚 stale label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants