Red Nose Hacker

guile

Guile Logo

Previously :

The next item on the todo list : Invoke setUp first

So here we will implement the test fixture usually called setup or beforeEach in other testing frameworks. It aims to execute code before any test function.

Let's see how it's done !

Lire la suite...

Guile Logo

Previously :

This first step, to an xUnit implementation, was pretty fun. You can taste it with the introductory sentence :

« Driving a testing tool using the testing tool itself to run the tests may seem a bit like performing brain surgery on yourself. »

Let's see how far can I push this adaptation in the Guile programming language.

Lire la suite...

Guile Logo

I like to write tests in a specification based fashion. So I started to work on Guile-Spec.

At the time of writing this post, it's no more than a set of syntax-rules on top of SRFI-64.

Let's see how it feels…

Lire la suite...

Lire la suite...

En lisant le livre « Clean Architecture » de Robert C. Martin, il m'arrive de revoir l'architecture de mon application « Your Next Meal » (alias YNM), pour la science !

Guile, ou plus largement Scheme, n'étant pas un langage très utilisé pour illustrer les concepts de « Clean Architecture » ou « Clean Code », je m'inspire de ce qui est fait dans d'autres langages.

J'ai aussi lu quelques ressources sur le langage Ruby, dont j'apprécie la philosophie de son créateur (même si je ne me suis jamais vraiment intéressé au langage en lui-même).

Lire la suite...

Guile Logo

I love Test Driven Development. You might already know it if you are following my journey. Kent Beck wrote the book in 2002. He has chosen to provide examples using Java and Python in an Object Oriented way.

Now, I want to use the Guile programming language to follow the examples in the book and see how things are different !

Lire la suite...

Guile Logo

These last days, I tried to send an SMS with a Guile script. TL;DR: I succeeded!

Lire la suite...

Guile Logo

Ces derniers jours, je me suis mis en tête d'essayer d'envoyer un SMS avec un script Guile. TL;DR : J'ai réussi !

Lire la suite...

Guile Logo

A new section of the book has been published: Create an Application !

Lire la suite...