elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
695 stars 71 forks source link

Emit yaml test junit output #109

Closed russcam closed 4 years ago

russcam commented 4 years ago

This PR updates the script that runs yaml tests to output junit format. The unstable option of json format output of cargo tests is used in conjunction with cargo2junit to convert output.

Download tarball and extract rest specs and yaml tests from the archive. This turns out to be much faster than downloading individual files, and removes the need for a GitHub access token to download many files from GitHub APIs.