ci: add unit test coverage support

Open
#185 0 comments 0 reactions 1 assignee View on GitHub

@brionmario is already working on this.

Since Sep 29, 2025.

Assessment

This issue has not been assessed yet.

Description

ci Complexity/Medium Type/Improvement
Current Limitation

Currently, our CI workflows only run unit tests but do not track or report code coverage.
This makes it difficult to monitor how well our tests cover the codebase and identify areas lacking test coverage.

Suggested Improvement

Integrate code coverage reporting into the CI pipeline using Codecov.

  • Add coverage reporting configuration for all SDK packages.
  • Upload coverage reports to Codecov after CI runs.
  • Enforce minimum coverage thresholds (optional) to maintain quality.
  • Provide a coverage badge in the repository README for visibility.
Please select the package issue is related to

@asgardeo/express, @asgardeo/browser, @asgardeo/javascript, @asgardeo/nextjs, @asgardeo/nuxt, @asgardeo/node,
@asgardeo/react, @asgardeo/react-router, @asgardeo/vue

Version

current

Reporter Checklist
  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have verified the improvement is not available in the latest version of the package.
Dominant language
TypeScript
Stars
18
Forks
67
Avg merge
4h 6m
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from asgardeo/javascript

All issues in asgardeo/javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.