FoamFactory / bubblez

A gem for defining client REST interfaces in ruby
Mozilla Public License 2.0
4 stars 0 forks source link

All VCR cassettes are based off of a non-public API #17

Open jwir3 opened 5 years ago

jwir3 commented 5 years ago

Since this originally came out of a project that was private (the Sinking Moon API), we've based all of our API calls on a non-public API. (It's not possible for everyone to access the Sinking Moon API). This means that basically only @jwir3 can recreate the VCR cassettes from scratch.

We should modify this to point to a public API, so that if the need ever arose for others to want to regenerate the API calls in the tests, it can be done.

jwir3 commented 2 years ago

Really, what we need to do here is to reorganize all of our specs. It's a complete mess right now. I think a structure like the following might be better:

This structure would hold for most of our major APIs, then we could test special cases from there in the specifications for config and rest_environment.

jwir3 commented 2 years ago

Hmm, actually thinking about this more, we have more than that. We have a matrix of options:

We need to somehow form a combination matrix of the ones that can be specified together and come up with a decent structure in code for the specs.