ExCoveralls – coveralls.io for Elixir (elixir-lang)

https://github.com/parroty/excoveralls

Last week, I was working on a coveralls.io binding for Elixir. It’s getting more fun to find something to write using Elixir. Its entire toolsets are still limited compared with other popular languages (JavaScript, Ruby, etc.), but the underlying Erlang’s wide-range libraries helps a lot.

This uses Erlang’s cover library, and it works mostly well on Elixir. It can return the module definition (Elixir.XXX) and source code (*.ex) relationship along with test-coverage by combining with “mix test”. I haven’t been able to fully understand how this translation is working, but it would be one good indicator that Elixir is well wrapped around Erlang’s concept at very low-level. It’s pretty much interesting that it’s achievable by changing the language representation like Ruby, from the Erlang’s a little tricky grammer.

Still there’s a lot to learn, but this kind of writing is a nice workout for getting closer, I hope.

Advertisements

Posted on September 8, 2013, in Elixir, Software Design. 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: