public static void Run(InterpreterTest test, params string [] tableNames)
        {
            List <Table> tables = test.GetTables(tableNames);

            OutputHelper.Output(FormatName(test, "GetTables"), tables, true);

            List <TableColumn> tableColumns = test.GetTableColumns(tableNames);

            OutputHelper.Output(FormatName(test, "GetTableColumns"), tableColumns, true);

            List <TablePrimaryKey> tablePrimaryKeys = test.GetTablePrimaryKeys(tableNames);

            OutputHelper.Output(FormatName(test, "GetTablePrimaryKeys"), tablePrimaryKeys, true);

            List <TableForeignKey> tableForeignKeys = test.GetTableForeignKeys(tableNames);

            OutputHelper.Output(FormatName(test, "GetTableForeignKeys"), tableForeignKeys, true);

            List <TableIndex> tableIndices = test.GetTableIndexes(tableNames);

            OutputHelper.Output(FormatName(test, "GetTableIndexes"), tableIndices, true);

            string schema = test.GenerateSchemaScripts(tableNames);

            OutputHelper.Output(FormatName(test, "GenerateSchemaScripts"), schema, false);

            string data = test.GenerateDataScripts(tableNames);

            OutputHelper.Output(FormatName(test, "GenerateDataScripts"), data, false);
        }
        public static void Run(InterpreterTest test, SelectionInfo selectionInfo)
        {
            string[] tableNames = selectionInfo.TableNames;
            string[] viewNames  = selectionInfo.ViewNames;

            List <Table> tables = test.GetTables(tableNames);

            OutputHelper.Output(FormatName(test, "GetTables"), tables, true);

            List <TableColumn> tableColumns = test.GetTableColumns(tableNames);

            OutputHelper.Output(FormatName(test, "GetTableColumns"), tableColumns, true);

            List <TablePrimaryKey> tablePrimaryKeys = test.GetTablePrimaryKeys(tableNames);

            OutputHelper.Output(FormatName(test, "GetTablePrimaryKeys"), tablePrimaryKeys, true);

            List <TableForeignKey> tableForeignKeys = test.GetTableForeignKeys(tableNames);

            OutputHelper.Output(FormatName(test, "GetTableForeignKeys"), tableForeignKeys, true);

            List <TableIndex> tableIndices = test.GetTableIndexes(tableNames);

            OutputHelper.Output(FormatName(test, "GetTableIndexes"), tableIndices, true);

            List <View> views = test.GetViews(viewNames);

            SchemaInfo schemaInfo = new SchemaInfo()
            {
                Tables = tables,
                Views  = views
            };

            string schema = test.GenerateSchemaScripts(schemaInfo);

            OutputHelper.Output(FormatName(test, "GenerateSchemaScripts"), schema, false);

            string data = test.GenerateDataScripts(schemaInfo);

            OutputHelper.Output(FormatName(test, "GenerateDataScripts"), data, false);
        }