Re: [Vala] [RFC] Testing framework improvements



Hi Jan,

I'd like to add some enhancements like a better reporting, better assertion
support with pretty printing, etc.. In that case effectively this framework
may become an separate library. And, if contributors are interested in it,
why not continuing to improve it ? With your external runner for instance.

I have been working on it for few weeks only and then the directions are not
really well defined for the moment.

Best,

Julien.

2009/8/6 Jan Hudec <bulb ucw cz>

Julien Peeters <jj peeters    > writes:
We wrote a TestFixture class which wraps
the TestCase class of GLib.Test namespace and make tests use Vala style
coding.

Our work in only in the master branch of libgee (see
tests/testfixture.vala)
for the moment. I have planned to improve this little framework and make
it
become an independant library if that will make sense.

I advice you to also see and follow this bug report
http://bugzilla.gnome.org/show_bug.cgi?id=590237

Thanks. I'll look at it. I am kind of starting to like the idea of library
+
GIR-based external runner, so I'll look whether it would make sense to do
that on top of the fixture class (the runner needs something to look for
anyway, so it would need a fixture class in the end).

Do you think the framework will be large enough to warrant separate
library?
Though perhaps if support for fixtures with temporary directories,
data-driven
tests and various other goodies are added it will be.

Regards,
Jan

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




-- 
Student in electronics and engineering
Institut de Formation des Ingénieurs de Paris-Sud (IFIPS)
Orsay, France
LinkedIn profile : http://www.linkedin.com/in/julienpeeters
Website : http://www.julienpeeters.fr


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