← 输入框|github.com|刷新
Skip to content

Show utPLSQL support line in human-readable reports - #1401

Merged
jgebal merged 1 commit into
developfrom
feature/sponsoring_info_in_reporters
Dec 1, 2026
Merged

jgebal merged 1 commit into
developfrom
feature/sponsoring_info_in_reporters

Conversation

@jgebal

@jgebal jgebal commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

The documentation reporter ends its output with a one-line link to utPLSQL commercial support and sponsorship (https://utplsql.org/support), the TAP reporter prints the same line as a trailing comment, and the HTML coverage report shows it as a link in its footer. Machine-readable reporters don't include it.

The line can be switched off with the new a_support_info parameter of ut.run (boolean for procedures, 0/1 for functions) and ut_runner.run. The setting is carried to reporters by ut_run.support_info_flag.

Summary by CodeRabbit

  • New Features
    • Test runs now include a support message and link in standard, TAP, and HTML coverage reports by default.
    • You can disable the support line using the a_support_info option in ut.run or ut_runner.run.
    • HTML coverage report footer links now use HTTPS.
  • Documentation
    • Added guidance on the support line and how to turn it off.

The documentation reporter ends its output with a one-line link to
utPLSQL commercial support and sponsorship (https://utplsql.org/support),
the TAP reporter prints the same line as a trailing comment, and the HTML
coverage report shows it as a link in its footer. Machine-readable
reporters don't include it.

The line can be switched off with the new a_support_info parameter of
ut.run (boolean for procedures, 0/1 for functions) and ut_runner.run.
The setting is carried to reporters by ut_run.support_info_flag.
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes: Support Line Configuration

Layer / File(s) Summary
Add and propagate the run option
source/api/ut.pks, source/api/ut.pkb, source/api/ut_runner.pks, source/api/ut_runner.pkb, source/core/types/ut_run.tps, source/core/types/ut_run.tpb, docs/userguide/running-unit-tests.md, test/ut3_user/api/*, test/ut3_tester/core/test_suite_manager.pkb
The ut.run overloads and ut_runner.run add a_support_info, enabled by default. The value passes through the run APIs and is stored by ut_run. The guide documents how to disable it, and API tests cover both settings.
Render support text and links
source/core/ut_utils.pks, source/reporters/*, docs/userguide/reporters.md, test/ut3_user/reporters.pks, test/ut3_user/reporters/test_coverage/*, test/ut3_user/reporters/test_documentation_reporter.*, test/ut3_user/reporters/test_tap_reporter.*, test/ut3_tester/core/test_coverage_report_html_helper.*, test/install_ut3_tester_tests.sql
The documentation and TAP reporters conditionally print the support line. The HTML coverage footer conditionally includes the support link, and its utPLSQL and simplecov-html links change to HTTPS. Reporter tests check support output with the option enabled and disabled.

Suggested reviewers: lwasylow

Change: Feature

Merge Risk: Minimal · up to bd240

This adds an optional, default-on support line to human-readable reports, with an a_support_info parameter to turn it off. No actionable merge-blocking risk was found.

Architecture risk: Low · up to bd240

The change affects 3 source areas.

A caller may provide the optional support-info setting (defaulting to enabled), and the run's reporters include the support line when enabled or omit it when disabled.

Changed areas: test, source, docs

Review details

Systems and components

  • observed — 13 changed files mapped to test.
  • observed — source (api) was modified; 12 changed files map to changed impact.
  • observed — 2 changed files mapped to docs.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0bcf7cba-0189-4315-b549-74768d8bb478
Commits

Reviewing files that changed from the base of the PR and between 1a189ca and bd24025.

Files selected for processing: 27

  • docs/userguide/reporters.md
  • docs/userguide/running-unit-tests.md
  • source/api/ut.pkb
  • source/api/ut.pks
  • source/api/ut_runner.pkb
  • source/api/ut_runner.pks
  • source/core/types/ut_run.tpb
  • source/core/types/ut_run.tps
  • source/core/ut_utils.pks
  • source/reporters/ut_coverage_html_reporter.tpb
  • source/reporters/ut_coverage_report_html_helper.pkb
  • source/reporters/ut_coverage_report_html_helper.pks
  • source/reporters/ut_documentation_reporter.tpb
  • source/reporters/ut_tap_reporter.tpb
  • test/install_ut3_tester_tests.sql
  • test/ut3_tester/core/test_coverage_report_html_helper.pkb
  • test/ut3_tester/core/test_coverage_report_html_helper.pks
  • test/ut3_tester/core/test_suite_manager.pkb
  • test/ut3_user/api/test_ut_run.pkb
  • test/ut3_user/api/test_ut_run.pks
  • test/ut3_user/reporters.pks
  • test/ut3_user/reporters/test_coverage/test_html_coverage_reporter.pkb
  • test/ut3_user/reporters/test_coverage/test_html_coverage_reporter.pks
  • test/ut3_user/reporters/test_documentation_reporter.pkb
  • test/ut3_user/reporters/test_documentation_reporter.pks
  • test/ut3_user/reporters/test_tap_reporter.pkb
  • test/ut3_user/reporters/test_tap_reporter.pks

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Test Results

    1 files    107 suites   2m 9s ⏱️
1 185 tests 1 182 ✅ 3 💤 0 ❌
1 189 runs  1 183 ✅ 6 💤 0 ❌

Results for commit bd24025.

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

    1 files    107 suites   3m 19s ⏱️
1 192 tests 1 189 ✅ 3 💤 0 ❌
1 196 runs  1 190 ✅ 6 💤 0 ❌

Results for commit bd24025.

♻️ This comment has been updated with latest results.

@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.96%. Comparing base (9bd6e40) to head (bd24025).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1401   +/-   ##
========================================
  Coverage    94.95%   94.96%           
========================================
  Files          113      113           
  Lines         5412     5420    +8     
  Branches        24       24           
========================================
+ Hits          5139     5147    +8     
  Misses         257      257           
  Partials        16       16           
Flag Coverage Δ
19.20-ee 94.95% <100.00%> (+<0.01%) ⬆️
21XE 95.10% <100.00%> (+<0.01%) ⬆️
23-free 94.77% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

@jgebal
jgebal merged commit 7cbb29e into develop Dec 1, 2026
16 checks passed
@jgebal
jgebal deleted the feature/sponsoring_info_in_reporters branch December 1, 2026 15:23
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