Elixir – ExVCR

Just uploaded the initial version of ExVCR, which I was working on over the last weekend. It’s a record and replay HTTP-interactions library for elixir. As the name stands for, it’s inspired by Ruby’s VCR.

Before this one, I tried to create several libraries which involves HTTP interactions, and one of the issues was mocking server request/response on tests. Mostly, manual stubbing with Erlang’s meck library worked, but the test-data tends to become too simplified, and also it was a little cumbersome to manage test-scenarios. This library is a trial for easing the HTTP related testing.

It’s pretty much immature yet, but I am planning to improve it, at least for a couple of weeks from now.

Advertisements

Posted on October 1, 2013, in Elixir, Web. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: