OpenSearch/qa
Nik Everett 51a6285ba1 SQL: Allow CSV tests to look more like the CLI (elastic/x-pack-elasticsearch#3640)
This allows CSV tests to include a line between the header and the
values that is ignored by the test framework. This optional line can be
added to the tests to make them a little easier to read which is useful
when they are included in the documentation. As a side effect they also
closely mimick the output of the CLI. To the point where you can copy
directly from the CLI and paste into the CSV tests.

Example:
```
constantYear
// tag::year
SELECT YEAR(CAST('2018-01-19T10:23:27Z' AS TIMESTAMP)) as year;
     year
---------------
2018
// end::year
;
```

This can be extracted with a construct like this in the docs:
```
["source","sql",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{sql-specs}/datetime.csv-spec[year]
--------------------------------------------------
```

Which makes documentation that looks like this:
```
SELECT YEAR(CAST('2018-01-19T10:23:27Z' AS TIMESTAMP)) as year;
     year
---------------
2018
```

Which is fairly nice.

Original commit: elastic/x-pack-elasticsearch@8c10b5cb10
2018-01-19 16:24:42 -05:00
..
audit-tests Retry startup for IndexAuditTrail and version templates (elastic/x-pack-elasticsearch#2755) 2017-10-30 09:11:18 -06:00
core-rest-tests-with-security [TEST] Increase timeout for CoreWithSecurityClientYamlTestSuiteIT 2017-12-05 15:57:27 +00:00
full-cluster-restart Merge remote-tracking branch 'elastic/master' into feature/sql_2 2018-01-12 15:35:56 -05:00
ml-basic-multi-node Revert "Use shaded rest client dependencies" (elastic/x-pack-elasticsearch#2352) 2017-08-25 14:13:16 -05:00
ml-disabled Revert "Use shaded rest client dependencies" (elastic/x-pack-elasticsearch#2352) 2017-08-25 14:13:16 -05:00
ml-no-bootstrap-tests Use TestEnvironment factory method to create test Environment objects (elastic/x-pack-elasticsearch#2860) 2017-11-04 13:25:56 +00:00
ml-single-node-tests Promote common rest test utility methods to ESRestTestCase 2017-10-05 10:10:10 +02:00
multi-cluster-search-security IndexLifecycleManager checks for index existense and up to date mappings (elastic/x-pack-elasticsearch#3515) 2018-01-12 12:45:52 -07:00
multi-node Replace global checkpoint sync test 2017-10-13 10:05:59 -04:00
openldap-tests Halt OpenLDAP fixture (elastic/x-pack-elasticsearch#2929) 2017-11-08 19:57:29 +02:00
reindex-tests-with-security Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
rolling-upgrade Add the ability to refresh tokens obtained via the API (elastic/x-pack-elasticsearch#3468) 2018-01-17 12:18:44 -07:00
security-client-tests Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
security-example-extension Use TestEnvironment factory method to create test Environment objects (elastic/x-pack-elasticsearch#2860) 2017-11-04 13:25:56 +00:00
security-migrate-tests Fix migrate tool integration test 2017-07-28 21:33:54 +09:00
security-setup-password-tests IndexLifecycleManager checks for index existense and up to date mappings (elastic/x-pack-elasticsearch#3515) 2018-01-12 12:45:52 -07:00
smoke-test-graph-with-security Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
smoke-test-ml-with-security [ML] Improve error on get calendar when ml-meta index is missing (elastic/x-pack-elasticsearch#3576) 2018-01-16 11:00:07 +00:00
smoke-test-monitoring-with-watcher Tests: Add noop test to prevent test failures 2018-01-15 18:06:54 +01:00
smoke-test-plugins Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
smoke-test-plugins-ssl Adapt to compile and runtime Java home distinction 2018-01-16 13:45:42 -05:00
smoke-test-security-with-mustache IndexLifecycleManager checks for index existense and up to date mappings (elastic/x-pack-elasticsearch#3515) 2018-01-12 12:45:52 -07:00
smoke-test-watcher Migrate actions to plugin core (elastic/x-pack-elasticsearch#3424) 2017-12-27 11:31:16 -05:00
smoke-test-watcher-with-mustache Remove InternalClient and InternalSecurityClient (elastic/x-pack-elasticsearch#3054) 2017-11-22 08:35:18 -07:00
smoke-test-watcher-with-painless Watcher: Add transform input for chained input (elastic/x-pack-elasticsearch#2861) 2017-11-27 13:27:56 +01:00
smoke-test-watcher-with-security Tests: Replace http input integration test with REST test (elastic/x-pack-elasticsearch#3215) 2017-12-11 13:08:58 +01:00
sql SQL: Allow CSV tests to look more like the CLI (elastic/x-pack-elasticsearch#3640) 2018-01-19 16:24:42 -05:00
transport-client-tests Migrate actions to plugin core (elastic/x-pack-elasticsearch#3424) 2017-12-27 11:31:16 -05:00
tribe-node-tests-with-security Remove default passwords from reserved users (elastic/x-pack-elasticsearch#1665) 2017-06-29 15:27:57 -05:00
tribe-tests-with-license Migrate actions to plugin core (elastic/x-pack-elasticsearch#3424) 2017-12-27 11:31:16 -05:00
tribe-tests-with-security IndexLifecycleManager checks for index existense and up to date mappings (elastic/x-pack-elasticsearch#3515) 2018-01-12 12:45:52 -07:00
vagrant SQL: Bundle the CLI into x-pack (elastic/x-pack-elasticsearch#3316) 2017-12-14 09:57:03 -05:00
build.gradle Remove assemble from build task when assemble removed 2017-06-16 17:19:47 -04:00