Paul Rogers created DRILL-5322:
----------------------------------

             Summary: Provide an OperatorFixture for sub-operator unit testing 
setup
                 Key: DRILL-5322
                 URL: https://issues.apache.org/jira/browse/DRILL-5322
             Project: Apache Drill
          Issue Type: Sub-task
    Affects Versions: 1.11.0
            Reporter: Paul Rogers
            Assignee: Paul Rogers
             Fix For: 1.11.0


We recently created various "fixture" classes to assist with system-level 
testing: {{LogFixture}}, {{ClusterFixture}} and {{ClientFixture}}. Each handles 
the tedious work of setting up the conditions to run certain kinds of tests.

In the same way, we need an {{OperatorFixture}} to set up the low-level bits 
and pieces needed for operator-level, and sub-operator-level unit testing.

The {{DrillConfig}} is used by both the system-level and operator-level 
fixtures. So, pull the config-setup tasks our of (cluster) {{FixtureBuilder}} 
(should rename) and into a new {{ConfigBuilder}}. Leave the existing methods in 
{{FixtureBuilder}}, but modify them to be wrappers around the new config 
builder.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to