On 11/12/2007, Thijs Vermeir <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to start a new project in Vala, but I can't find an
> easy way to add Unit testing to my project.
> Is there already some way of unit testing in Vala?
> Or how are you (unit) testing your vala applications or libraries?
I know that glib trunk contains provisions for unit testing, but they
are not yet included in a stable release. This means that the Vala
bindings are unlikely to sport them as we speak, but they could make
an excellent addition to Vala when the next glib release hits the
block.
Unfortunately (by my limited understanding) the GLib devs decided to
go with a pretty odd syntax for their assertions, which might make it
hard to bind. Fx:
g_assert_cmpstr ("foo", <, "fzz");
g_assert_cmpstr ("fzz", >, "faa");
g_assert_cmpstr ("fzz", ==, "fzz");
Will this (insanity) be possible to map to Vala?
Cheers,
Mikkel
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list