Skip to content

Conversation

polatengin
Copy link
Contributor

Improve Core code coverage from;

----------------|---------|----------|---------|---------|------------------------------------------------------
File            | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                    
----------------|---------|----------|---------|---------|------------------------------------------------------
   testplan.ts  |   40.57 |     7.69 |   45.45 |    40.9 | 95-103,124-175,230-269
----------------|---------|----------|---------|---------|------------------------------------------------------

to

----------------|---------|----------|---------|---------|------------------------------------------------------
File            | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                    
----------------|---------|----------|---------|---------|------------------------------------------------------
   testplan.ts  |   98.55 |    84.61 |     100 |   98.48 | 269
----------------|---------|----------|---------|---------|------------------------------------------------------

GitHub issue number

#57 (Don't close the issue, there are other tools to improve test coverages)

Associated Risks

None

PR Checklist

  • I have read the contribution guidelines
  • I have read the code of conduct guidelines
  • Title of the pull request is clear and informative.
  • 👌 Code hygiene
  • 🔭 Telemetry added, updated, or N/A
  • 📄 Documentation added, updated, or N/A
  • 🛡️ Automated tests added, or N/A

🧪 How did you test it?

Run npm run test in the project root

@polatengin polatengin requested a review from a team as a code owner July 14, 2025 19:00
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@7e53fb4). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #266   +/-   ##
=======================================
  Coverage        ?   86.29%           
=======================================
  Files           ?       10           
  Lines           ?      467           
  Branches        ?       56           
=======================================
  Hits            ?      403           
  Misses          ?       60           
  Partials        ?        4           
Flag Coverage Δ
unittests 86.29% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danhellem danhellem merged commit 5b6bc61 into microsoft:main Jul 15, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

4 participants