← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Reworking patchlets, first issue

 

2012/5/11 Lorenzo Marcantonio <l.marcantonio@xxxxxxxxxxxx>

>
> > Hehehe, I run automated tests on my client's software, every time I
> upload
> > changes to the svn, it's downloaded, built, and some automated
> > unit tests are done.
>
> Unit testing is cool if class are designed for it. IIRC GUI tests are
> done sending 'fake' mouse/keyboard events and registering the output. No
> idea on how you can test if something is drawn ok... maybe with
> a virtual X framebuffer and xoring with the reference image? (like for
> phototools!)
>
>

Yeah, in fact, the webkit (chrome+safari) HTML render engine is tested this
way,
they had a set of tests and a set of .png images with the proper render.

So they test rendering and comparing to check that everything stays
correctly on "render" specs :)




>
> --
> Lorenzo Marcantonio
> Logos Srl
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>



-- 

Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo

References