Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(29788): Improve test coverage #764

Merged
merged 19 commits into from
Jan 29, 2025
Merged

Conversation

vanch3d
Copy link
Contributor

@vanch3d vanch3d commented Jan 27, 2025

See https://hivemq.kanbanize.com/ctrl_board/57/cards/29788/details/

The PR improves significantly on test coverage, by adding missing tests on the Data Hub Designer and refactoring some of the unit tests (files renamed to JS when JSX is not needed)

Code coverage instrumentation (nyc) and reports are also introduced for Cypress. Note that the reports are generated for both e2e and component testing but they overwrite each other

Out-fo-scope

  • Combining the reports from Cypress and Vitest to get a full coverage analysis will be covered in a separate ticket

@vanch3d vanch3d self-assigned this Jan 27, 2025
@cla-bot cla-bot bot added the cla-signed label Jan 27, 2025
@vanch3d vanch3d changed the title fix(29788): Improve testcoverage fix(29788): Improve test coverage Jan 27, 2025
@vanch3d vanch3d force-pushed the fix/29788/designer-test-coverage branch from 1141fa7 to 2ca8c5a Compare January 28, 2025 09:40
Copy link
Contributor

@h2xd h2xd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🐊

Looks like a solid setup for the mocking job!

hivemq-edge/src/frontend/package.json Show resolved Hide resolved
@vanch3d vanch3d force-pushed the fix/29788/designer-test-coverage branch from 2ca8c5a to 106e9d5 Compare January 29, 2025 09:04
@vanch3d vanch3d merged commit 708e020 into master Jan 29, 2025
10 checks passed
@vanch3d vanch3d deleted the fix/29788/designer-test-coverage branch January 29, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants