google / google/googletest

[FR]: Can millisecond data be added to the timestamp information in the output XML file?

Open
#4,805 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
39.6k
Forks
10.9k
Avg merge
6d 13h
Merged PRs (30d)
1

Description

### Does the feature exist in the most recent commit?

Currently, the timestamp is only precise to the second level. Can millisecond data be added?

Image

### Why do we need this feature?

The test case runs too quickly, and the time precision at the second level is insufficient, making it difficult to find the corresponding log of the tested application using this time.

### Describe the proposal.

change to
2025-06-25T20:54:29.123

%Y-%m-%dT%H:%M:%S.%f

### Is the feature specific to an operating system, compiler, or build system version?

no

Contributor guide

Open the contributing guide

Research direction

Start by locating the code that generates timestamp information in the output XML and any existing tests for that output. Update the timestamp precision to include milliseconds in the requested format, then verify that the generated XML contains values such as 2025-06-25T20:54:29.123.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.