google / googletest

GoogleTest - Google Testing and Mocking Framework
https://google.github.io/googletest/
BSD 3-Clause "New" or "Revised" License
34.8k stars 10.15k forks source link

Support --gtest_stream_result_to on Windows #3935

Open davidmatson opened 2 years ago

davidmatson commented 2 years ago

Does the feature exist in the most recent commit?

No

Why do we need this feature?

There is no other built-in streaming support, and currently this feature excludes Windows. This feature provides the best way to communicate results back from a compiled test exe in a programmatic way while the test is running.

Describe the proposal

Update StreamingListener to include this define on Windows (and make other changes needed for compilation to succeed on Windows; Windows supports sockets but some includes/APIs may be different).

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

Yes; Windows (but not any specific version).

dinord commented 2 years ago

We would consider accepting a pull request to support this if it does not overly complicate the code.

davidmatson commented 2 years ago

3989

davidmatson commented 1 year ago

@dinord - thanks! this issue shows as "help wanted", and there's a PR here, if someone is free to take a look:

3989