Skip to content

[core] Add essential unit tests for TDatime - #23641

Open
ravindra-RKB wants to merge 1 commit into
root-project:masterfrom
ravindra-RKB:feature-tdatime-tests
Open

ravindra-RKB wants to merge 1 commit into
root-project:masterfrom
ravindra-RKB:feature-tdatime-tests

Conversation

@ravindra-RKB

Copy link
Copy Markdown
Contributor

This Pull request:

Changes or fixes:
This PR introduces missing unit tests for the TDatime class to ensure all date and time operations, constructors, operators, and getter functions are thoroughly tested against the ROOT test framework. This adds significant test coverage and ensures long-term stability for this foundational module.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

@pcanal pcanal self-assigned this Oct 7, 2026

@pcanal pcanal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you very much for adding this missing fundamental unit tests.

The PR title use the word comprehensive which seems to be implying that a much larger set of tests covering the entirety of the TDatime API is planned to be added to this PR or did we mean a more limited scope (eg. Add essential unit test ... or fundamental or startup or something else)?

@ravindra-RKB
ravindra-RKB force-pushed the feature-tdatime-tests branch 2 times, most recently from 57a7414 to d6bfe10 Compare October 7, 2026 11:50
@ravindra-RKB

Copy link
Copy Markdown
Contributor Author

@pcanal Thanks for the feedback! You're completely right 'essential' is much more accurate for this scope. I have updated the PR title and commit message accordingly.

Let me know if anything else is needed, otherwise this is ready for your review and to have the CI workflows triggered!

@pcanal pcanal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks.

@pcanal pcanal changed the title [core] Add comprehensive unit tests for TDatime [core] Add essential unit tests for TDatime Oct 7, 2026
@ravindra-RKB ravindra-RKB reopened this Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Test Results

    24 files      24 suites   4d 2h 55m 44s ⏱️
 3 885 tests  3 883 ✅ 0 💤 2 ❌
83 157 runs  83 155 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit 6a9e431.

♻️ This comment has been updated with latest results.

@ravindra-RKB
ravindra-RKB force-pushed the feature-tdatime-tests branch from d6bfe10 to 6a9e431 Compare October 8, 2026 07:29
@ravindra-RKB

Copy link
Copy Markdown
Contributor Author

@pcanal Hi, it looks like the CI failures are false positives. The clang-format job fails with a runner/infrastructure error, and the other two seem to be random flaky timeouts.

Could you please re-trigger the failed jobs or merge it manually? Thanks!

This PR introduces missing essential unit tests for the TDatime class to ensure
date and time operations, constructors, operators, and getter
functions are tested against the ROOT test framework.

This adds fundamental test coverage and ensures long-term stability
for this module.
@ravindra-RKB
ravindra-RKB force-pushed the feature-tdatime-tests branch from 6a9e431 to 2ca0ae1 Compare October 10, 2026 17:08

This branch has not been deployed

No deployments
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