RSpec Example Filtering for Multiple Version Testing

1 · Seth Vargo · Aug. 29, 2016, midnight
Authoring a client library for an upstream service is often challenging, but testing and preventing regressions against upstream API changes is sometimes impossible. This post discusses using RSpec example metadata filtering as a way to test against different client libraries on Travis CI. The Problem I am one of the maintainers of the HashiCorp Vault Ruby API client library. The library tries to maintain compatibility with past versions of Vault (within reason), while supporting the new featu...