Re: Adding unit testing to grilo



On 05/20/2010 05:22 PM, Juan A. Suarez Romero wrote:
On Thu, 2010-05-20 at 16:49 +0200, Eduardo Lima Mitev wrote:
  
Yes, my idea is to start from that point but perhaps moving it from
'/src/tests' to '/tests'.

    

IIRC, it's there because it is the way of doing it with GTests.

Maybe we can take a look at glib to know how they do.

	J.A.


_______________________________________________
grilo-list mailing list
grilo-list gnome org
http://mail.gnome.org/mailman/listinfo/grilo-list

  

To use the glib test framework it is only required to include <glib.h>, and we already depend on glib so I see no reason why we shouldn't move to any other place outside '/src'. Using a separated '/tests' folder to organize all test-related code is more natural and leaves 'src' folder cleaner with only the actual library's source code.

Anyway, this issue is not big deal at this stage. I can start working on '/src/tests' and delay the moving (or the discussion) for later on.

cheers,
Edu

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]