Wednesday, 8th September 2010.

Posted on Sunday, 18th January 2009 by charpi

I’ve updated erl_rake (296) with some enhancements: – Refactoring of some rules that used external scripts (perl or escript) – Header dependencies are handled – ASN1 files are built [edit] The package works with ruby 1.8.7

Tags: ,
Posted in Uncategorized | Comments (3)

Posted on Friday, 19th December 2008 by charpi

In my previous post, I planned to have a closer look at the ruby’s world. As the erlang world misses a real compilation tool, I’ve decided to make a attempt to use rake. Usually, Erlangers use make to build their application. It’s a powerful tool but its syntax sucks a bit. With this complex syntax [...]

Tags: ,
Posted in Uncategorized | Comments (2)

Posted on Sunday, 19th October 2008 by charpi

I worked on erl_mock in order to publish my spike around mocks in erlang. When I was almost ready to make the package, something interesting happened: my tests failed. More precisely, they failed when run by the ‘future’ version of extremeforge. After the first surprise, I find the reason. Extremeforge use 2 nodes, the first [...]

Tags: , ,
Posted in Uncategorized | Comments (0)

Posted on Thursday, 9th October 2008 by charpi

In my previous post, I described a way to mock module by replacing them. Today, I’ll post a version closer to other mock library. Basically, I create on mock module on the fly and forward all calls to a process. You can tell to this process how to answer for each calls. Here is the [...]

Tags: ,
Posted in Uncategorized | Comments (7)

Posted on Wednesday, 8th October 2008 by charpi

In my previous post, I wrote a test to specify a lazy mock. In my mind, a lazy mock consists to replace the implementation of one module by another one at runtime. Here is the implementation of the lazy mock test -module(mock). -export([replace_module /2]). replace_module (Module, Mock_module) -> uninstall (Module), {ok, Binary} = file: read_file [...]

Tags: ,
Posted in Uncategorized | Comments (0)

About me Downloads