Package org.elasticsearch.test.rest.yaml.section
Sections within the YAML tests that are executed to run the tests.
-
Interface Summary Interface Description ExecutableSection Represents a test fragment that can be executed (e.g. -
Class Summary Class Description ApiCallSection Represents a test fragment that contains the information needed to call an apiAssertion Base class for executable sections that hold assertionsClientYamlTestSection Represents a test section, which is composed of a skip section and multiple executable sections.ClientYamlTestSuite Holds a REST test suite loaded from a specific yaml file.ContainsAssertion DoSection Represents a do section: - do: catch: missing headers: Authorization: Basic user:pass Content-Type: application/json warnings: - Stuff is deprecated, yo - Don't use deprecated stuff - Please, stop.GreaterThanAssertion Represents a gt assert section:GreaterThanEqualToAssertion Represents a gte assert section: - gte: { fields._ttl: 0 }IsFalseAssertion Represents an is_false assert section: - is_false: get.fields.barIsTrueAssertion Represents an is_true assert section: - is_true: get.fields.barLengthAssertion Represents a length assert section:LessThanAssertion Represents a lt assert section: - lt: { fields._ttl: 20000}LessThanOrEqualToAssertion Represents a lte assert section: - lte: { fields._ttl: 0 }MatchAssertion Represents a match assert section: - match: { get.fields._routing: "5" }SetSection Represents a set section: - set: {_scroll_id: scroll_id}SetupSection Represents a setup section.SkipSection Represents a skip section that tells whether a specific test section or suite needs to be skipped based on: - the elasticsearch version the tests are running against - a specific test feature required that might not be implemented yet by the runner - an operating system (full name, including specific Linux distributions) that might show a certain behaviorTeardownSection TransformAndSetSection Represents a transform_and_set section:VersionRange