Latest posts

Félix Delval

Unit test with behavioural mock

In the previous artictle, we talked about a way to write more expressive unit test. Doing this we actually deffined the behaviour of our injected mocks.

So if we push this logic further, we should actually start extracting this code away from the test class to a pure behavior mock ...

Félix Delval

Writing expressive unit test with injected dependancy

Recently I have been facing problem writing maintainable unit test for code that is relying heavily on injected dependancy.

Sometimes you are facing code that is using multiple injected dependancies that should all be mocked for testing purpose. Mocking is a very effective pattern to test part of a system ...

Félix Delval

Setting up Pelican with Git

My goal was to be able to edit my Pelican blog in local, commit the modifications I made and then by pushing it to a git repository, the blog would be regenerated on the remote webserver.

I found pelicangit, but the fact that it forces to add a configuration file ...

Félix Delval

There is always a first step

A boring yet poetic first post