Skip to content

Handle "StartTestTime" attribute on each Test entry#3450

Merged
williamjallen merged 1 commit intoKitware:masterfrom
josephsnyder:add_test_TestStartTime_handling
Feb 14, 2026
Merged

Handle "StartTestTime" attribute on each Test entry#3450
williamjallen merged 1 commit intoKitware:masterfrom
josephsnyder:add_test_TestStartTime_handling

Conversation

@josephsnyder
Copy link
Member

CTest includes the start time of each individual test as of the merge in https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11684

Add the validation and the parsing of the field for the build2test table and the Test model.

Copy link
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

Let's also add a test case to tests/Feature/Submission/Tests/TestXMLTest.php to verify that submissions with and without this field still work.

@josephsnyder josephsnyder force-pushed the add_test_TestStartTime_handling branch 2 times, most recently from 598a0ed to a614895 Compare February 13, 2026 19:55
@williamjallen williamjallen added this to the v4.10 milestone Feb 13, 2026
Copy link
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

While you're at it, can you go ahead and add this to the GraphQL API?

@josephsnyder josephsnyder force-pushed the add_test_TestStartTime_handling branch from a614895 to ab3f991 Compare February 13, 2026 20:33
Copy link
Collaborator

@williamjallen williamjallen left a comment

Choose a reason for hiding this comment

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

The startTime field should also be added to testBasicFieldAccess() in tests/Feature/GraphQL/TestTypeTest.php.

@josephsnyder josephsnyder force-pushed the add_test_TestStartTime_handling branch from ab3f991 to b230a05 Compare February 13, 2026 20:39
CTest includes the start time of each individual test as of the merge in
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/11684

Add the validation and the parsing of the field for the build2test table
and the Test model.
@josephsnyder josephsnyder force-pushed the add_test_TestStartTime_handling branch from b230a05 to 0353e02 Compare February 13, 2026 21:04
@williamjallen williamjallen added this pull request to the merge queue Feb 14, 2026
Merged via the queue into Kitware:master with commit 658bafe Feb 14, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants