Refactor PlanStageTestFixture to allow use with BENCHMARK_F

XMLWordPrintableJSON

    • 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.

            Assignee:
            Unassigned
            Reporter:
            Kyle Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: