Skip to content

[ENHANCEMENT] Implement YAML test runner #19

Closed
@russcam

Description

@russcam

In a similar vein to other official clients, a YAML test runner should be implemented, to run the YAML spec tests.

Possible implementation

  1. Create a tests directory in elasticsearch crate for integration tests
  2. Use the yaml-rust crate to read YML files.
  3. Use the quote crate and quote! macro to generate client calls to pass to the compiler based on calls defined within the YML test. The macro could generate a function that is called from another function containing the assertions, or quote! may be used to generate the entire test.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions