Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4812 +/- ##
============================================
+ Coverage 60.49% 60.53% +0.03%
Complexity 1675 1675
============================================
Files 333 333
Lines 16020 16020
Branches 2225 2225
============================================
+ Hits 9692 9698 +6
+ Misses 4855 4850 -5
+ Partials 1473 1472 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@Piyush-Kumar-Mishra I guess this is ready for review? |
|
@kelson42 Yes, ready for review |
There was a problem hiding this comment.
Pull request overview
Adds initial unit test coverage for KiwixTextToSpeech to address missing tests reported in #4810.
Changes:
- Introduces
KiwixTextToSpeechTestwith Robolectric + MockK to validate keyreadAloud,stop,pauseOrResume,initWebView,shutdown, andTTSTaskbehaviors. - Adds test scaffolding for mocking
AudioManager,TextToSpeech, andWebViewinteractions.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
MohitMaliFtechiz
left a comment
There was a problem hiding this comment.
@Piyush-Kumar-Mishra, There are some changes @copliot suggested. Apart from that, please see the review changes.
|
Thank you for the review |
19117fd to
a1712d7
Compare
65acd43 to
3957323
Compare
MohitMaliFtechiz
left a comment
There was a problem hiding this comment.
There were some import issues(and commit cleanup). I have fixed both issues. @kelson42 Now, LGTM. Once CI is green, we can merge.
|
CI is not green at all :( |
1a83f4e to
ac95137
Compare
FIX #4810