usgo / gocongress

Annual US Go Congress Website
https://www.gocongress.org
MIT License
20 stars 17 forks source link

De-skip tests by using VCR #242

Closed jaredbeck closed 3 years ago

jaredbeck commented 3 years ago

I prefer class extraction, e.g. the Pandanet::Client extracted in https://github.com/usgo/gocongress/pull/215, but VCR is very convenient.

neagle commented 3 years ago

VCR looks like a really good tool. I think "ease" is almost the most important component of testing tools, as it's so easy for tests to get to be more effort than they're worth. (Or at least feel like it.)

jaredbeck commented 3 years ago

I think "ease" is almost the most important component of testing tools ..

I agree completely. It's one of the things I like about Ruby.