Get test coverage to 60%
See original GitHub issueFeature
Why is this feature being added?
Trying to get test coverage up to 90% incrementally. Currently at . Let’s move to 60%+ and I’ll keep making tickets in 10% increments. You can check your progress locally via
yarn jest --coverage
and looking at the top row.
What should your feature do?
Add unit tests that move coverage to 60% or higher according to Code Climate report in PR
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
What is a reasonable code coverage % for unit tests (and why)?
If you TDD your code you should get a 90%+ coverage as a bonus. ... So the overall coverage may be, say, 60%,...
Read more >Code Coverage Best Practices - Google Testing Blog
Although there is no “ideal code coverage number,” at Google we offer the general guidelines of 60% as “acceptable”, 75% as “commendable” and...
Read more >Test Coverage Definition - Unit Testing - Microsoft Q&A
Minimum Test Coverage Rate: Keeping it between 60 - 70%. Pros: 1) The good thing here is we are sure our minimum requirements...
Read more >Test class has only 60% code coverage - Salesforce Developers
Test class has only 60% code coverage. Hi,. I have written the following trigger. trigger OpportunityStageToCaseStatus on Opportunity (after ...
Read more >Code Coverage Tutorial: Branch, Statement, Function Coverage
You would get to know how it differs from Test Coverage. ... 60 %. Let's compare this with what Code Coverage is. Code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will dig deeper in SocialLogin in the 70% Coverage Task 😄
Please note: between #184 #186 and #188 a lot of coverage has been added to various components. If you’d like to add tests, consider looking elsewhere like
cookie-utils
, the YoutubeVideo component, the ScrollButton component, and maybe even ourcreateComponent
script (you can remove the coverage ignore line on that one)