google / googletest

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

[FR]: Expose SetUpTestSuite and TearDownTestSuite getters and setters. #4482

Closed mbhaskar98 closed 4 months ago

mbhaskar98 commented 4 months ago

Does the feature exist in the most recent commit?

Don't think so.

Why do we need this feature?

To give flexibility while integrating Gtest with other testing frameworks.

Describe the proposal.

Expose getters and setters for SetUpTestSuite and TearDownTestSuite so that while integrating Gtest with other testing frameworks, these methods can be called during the setup and teardown phase of the framework.

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

Probably yes, Xcode's XCTest

derekmauro commented 4 months ago

We are not interested in supporting this use case.