Skip to content

Add Unit and Integration Tests#34

Merged
hasanxdev merged 23 commits intomainfrom
hsn/feat/test
Aug 3, 2025
Merged

Add Unit and Integration Tests#34
hasanxdev merged 23 commits intomainfrom
hsn/feat/test

Conversation

@hasanxdev
Copy link
Owner

@hasanxdev hasanxdev commented Aug 2, 2025

This PR focuses on adding unit tests, improving CI/CD, and updating code coverage processes. Here’s a brief overview of the changes:

Unit & Integration Tests:

  • Added tests for DispatchR configuration, handler registration, handler inclusion/exclusion, and empty handler arrays.
  • Created tests for generic pipeline registration and StreamRequestHandler.
  • Renamed tests for clarity and added notification registration tests.
  • Added tests for new pipeline behaviors, updated service registration logic, and covered integration tests.

CI/CD & Code Coverage:

  • Updated build-release.yml to conditionally run steps for versioned tags and include coverage reports in Codecov actions.
  • Upgraded Codecov action to version 5 and improved token handling.
  • Consolidated unit and integration tests in a single step with coverage collection.
  • Updated coverlet packages to version 6.0.4 and modified test commands for better coverage collection.
  • Added Codecov badge in README.md for coverage tracking.

In summary, this PR enhances unit and integration test coverage, refines the CI/CD pipeline, and focuses on Codecov integration and coverlet configuration.

hasanxdev added 22 commits July 29, 2025 02:10
…into a single test step with coverage collection
…Test directory before uploading coverage to Codecov
@codecov
Copy link

codecov bot commented Aug 3, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@hasanxdev hasanxdev merged commit da8b029 into main Aug 3, 2025
2 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.

1 participant