-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently, PlanStageTestFixture is written specifically for use with TEST_F while providing very useful functionality for both tests and benchmarks; for example, context creation, setup, teardown, functionality for creating collections, namespace handling, etc. However, using PlanStageTestFixture with BENCHMARK_F directly is impossible due to the way it creates an environment and differences in the setup of TEST_F and BENCHMARK_F. In order to get around this, I have created "dummy test fixtures" that are used for their functionality without being passed directly to BENCHMARK_F (see here).
It would be much better to have a generic version of PlanStageTestFixture (one that would work with both TEST_F and BENCHMARK_F).
This ticket may become obsolete with GoogleTest.