Skip to content

NH-132896: increase test coverage#254

Merged
xuan-cao-swi merged 14 commits into
mainfrom
NH-132896
Apr 8, 2026
Merged

NH-132896: increase test coverage#254
xuan-cao-swi merged 14 commits into
mainfrom
NH-132896

Conversation

@xuan-cao-swi
Copy link
Copy Markdown
Contributor

Description

Test (if applicable)

Copy link
Copy Markdown
Contributor

@github-advanced-security github-advanced-security AI left a comment

Choose a reason for hiding this comment

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

RuboCop found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Comment thread test/solarwinds_apm/otel_config_test.rb Fixed
Comment thread test/solarwinds_apm/otel_config_test.rb Fixed
Comment thread test/solarwinds_apm/otel_config_test.rb Fixed
Comment thread test/solarwinds_apm/otel_config_test.rb Fixed
Comment thread test/solarwinds_apm/otel_config_test.rb Fixed
Comment thread test/support/resource_detector_test.rb Fixed
Comment thread test/support/resource_detector_test.rb Fixed
Comment thread test/opentelemetry/otlp_processor_test.rb Fixed
Comment thread test/sampling/sampling_patch_test.rb Fixed
Comment thread test/support/log_formatters_test.rb Fixed
@xuan-cao-swi xuan-cao-swi marked this pull request as ready for review March 20, 2026 02:47
@xuan-cao-swi xuan-cao-swi requested review from a team as code owners March 20, 2026 02:47
@cheempz
Copy link
Copy Markdown
Contributor

cheempz commented Mar 24, 2026

@xuan-cao-swi any way to easily see the coverage info? Quick check there seem to be GHA integrations available.

Comment thread test/initest_helper.rb Fixed
Comment thread test/initest_helper.rb Fixed
Comment thread test/minitest_helper.rb Fixed
Comment thread test/minitest_helper.rb Fixed
Comment thread test/sampling_test_helper.rb Fixed
Comment thread test/sampling_test_helper.rb Fixed
@xuan-cao-swi
Copy link
Copy Markdown
Contributor Author

@xuan-cao-swi any way to easily see the coverage info? Quick check there seem to be GHA integrations available.

Yeah, I integrated the codecov.io

Copy link
Copy Markdown
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

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

Overall i like the improvements on test description and coverage, but from spot-checking what tests are actually doing, there are gaps between what descriptions say are being tested and actual setup/assertions.

Comment thread test/api/api_test.rb
Comment thread test/api/api_test.rb Outdated
Comment thread test/api/current_trace_info_test.rb Outdated
Comment thread test/opentelemetry/solarwinds_response_propagator_test.rb Outdated
Comment thread test/opentelemetry/solarwinds_response_propagator_test.rb
Comment thread test/sampling/json_sampler_test.rb
Comment thread test/solarwinds_apm/otel_config_test.rb Fixed
Comment thread test/api/transaction_name_test.rb Outdated
@xuan-cao-swi xuan-cao-swi requested a review from cheempz March 26, 2026 18:09
Comment thread .github/instructions/ruby.instructions.md
Comment thread .github/copilot-instructions.md Outdated
Comment thread test/api/api_test.rb
Comment thread test/api/current_trace_info_test.rb Outdated
Comment thread test/opentelemetry/otlp_processor_test.rb Outdated
Comment thread test/opentelemetry/otlp_processor_test.rb Outdated
Comment thread test/sampling/oboe_sampler_test.rb Outdated
Comment thread test/sampling/oboe_sampler_test.rb
@xuan-cao-swi xuan-cao-swi requested a review from cheempz March 31, 2026 16:41
Comment thread test/sampling/oboe_sampler_test.rb
Comment thread test/sampling/oboe_sampler_test.rb
Comment thread test/sampling/oboe_sampler_test.rb Outdated
Comment thread test/sampling/oboe_sampler_test.rb Outdated
Comment thread test/sampling/oboe_sampler_test.rb
Comment thread test/sampling/oboe_sampler_test.rb
Comment thread test/sampling/sampler_test.rb Outdated
Comment thread test/sampling/sampler_test.rb
Comment thread test/sampling/sampling_patch_test.rb Outdated
Comment thread test/sampling/sampling_patch_test.rb Outdated
Comment thread test/solarwinds_apm/config_test.rb
Comment thread test/support/logger_formatter_test.rb Outdated
xuan-cao-swi and others added 2 commits April 6, 2026 10:27
Co-authored-by: Lin Lin <lin.lin@solarwinds.com>
@xuan-cao-swi xuan-cao-swi requested a review from cheempz April 6, 2026 16:06
Copy link
Copy Markdown
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

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

LGTM

@xuan-cao-swi xuan-cao-swi merged commit 38e7fce into main Apr 8, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants