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

Add more unit tests for tools/cli/workflow_commands #6416

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

neil-xie
Copy link
Member

@neil-xie neil-xie commented Oct 25, 2024

What changed?
Add unit test for GetEarliestDecisioinID, Fail and Complete Activity
Add test for signal/restart workflow errors, getResetEventIDbyType

Why?
Increase test coverage

How did you test it?

Potential risks

Release notes

Documentation Changes

@neil-xie neil-xie changed the title Add unit test for GetEarliestDecisioinID, Fail and Complete Activity Add more unit tests for cli/workflow_commands Oct 25, 2024
@neil-xie neil-xie changed the title Add more unit tests for cli/workflow_commands Add more unit tests for tools/cli/workflow_commands Oct 25, 2024
@neil-xie neil-xie enabled auto-merge (squash) October 25, 2024 22:49
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.87%. Comparing base (a379b9b) to head (1067d12).
Report is 1 commits behind head on master.

Additional details and impacted files
Files with missing lines Coverage Δ
tools/cli/workflow_commands.go 73.39% <100.00%> (+6.45%) ⬆️

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a379b9b...1067d12. Read the comment docs.

@neil-xie neil-xie merged commit f5fa56e into cadence-workflow:master Oct 25, 2024
20 checks passed
@neil-xie neil-xie deleted the CDNC-11017 branch October 26, 2024 06:04
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.

2 participants