Open maxlinc opened 11 years ago
I can imagine TV having a few different matching styles. On my current project, I built something similar (in C#) but that only looked at JSONPaths instead of all of the contents of the request (so we would allow fields to be added to a JSON response, but raise an error in case a field was deleted, for example).
TV would not be possible to use with any system designed to prevent replay attacks. Token based auth, nonces, etc., would all make TV fail.
It's unlikely that TV could make any of this work out of the box, but could support VCR's features that may it possible for users to write the wiring necessary to overcome these problems: VCR's hooks, dynamic ERB cassettes, etc.