You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by "LucienShen-Liu (via GitHub)" <gi...@apache.org> on 2025/11/08 13:46:37 UTC
[PR] test: add unit tests for pkg/constant, pkg/client, and pkg/tm [incubator-seata-go]
LucienShen-Liu opened a new pull request, #988:
URL: https://github.com/apache/incubator-seata-go/pull/988
<!-- Thanks for sending a pull request!
-->
**What this PR does**:
test: improve test coverage for pkg/constant, pkg/client, and pkg/tm packages
**Which issue(s) this PR fixes**:
* pkg/constant: Add context_test.go with comprehensive constant validation tests
* pkg/client: Add client_test.go covering initialization functions and config structs
* pkg/tm: Add constant_test.go, config_test.go, and init_test.go for enum types,
configuration structures, and initialization functions
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_*
-->
Fixes #
**Special notes for your reviewer**:
**Does this PR introduce a user-facing change?**:
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".
-->
```release-note
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [PR] test: add unit tests for pkg/constant, pkg/client, and pkg/tm [incubator-seata-go]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #988:
URL: https://github.com/apache/incubator-seata-go/pull/988#issuecomment-3506593777
## [Codecov](https://app.codecov.io/gh/apache/incubator-seata-go/pull/988?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 54.81%. Comparing base ([`be1ad86`](https://app.codecov.io/gh/apache/incubator-seata-go/commit/be1ad86e75087e8e233a3a46a6aec025b81af9b7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`355517f`](https://app.codecov.io/gh/apache/incubator-seata-go/commit/355517f7c02ef7272dc4eeb3272ce064d1e7ec57?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 1 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #988 +/- ##
==========================================
+ Coverage 54.52% 54.81% +0.29%
==========================================
Files 209 209
Lines 12913 12972 +59
==========================================
+ Hits 7041 7111 +70
+ Misses 5372 5359 -13
- Partials 500 502 +2
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/incubator-seata-go/pull/988?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org
Re: [PR] test: add unit tests for pkg/constant, pkg/client, and pkg/tm [incubator-seata-go]
Posted by "Code-Fight (via GitHub)" <gi...@apache.org>.
Code-Fight merged PR #988:
URL: https://github.com/apache/incubator-seata-go/pull/988
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org