I'm currently working on rendering unit tests.
I didn't found a framework dedicated to this, so I'll be using GDK-Pixbuf and do a pixel-by-pixel comparison with a tolerance for color