Re: [Vala] Unit testing in Vala
- From: "Mikkel Kamstrup Erlandsen" <mikkel kamstrup gmail com>
- To: "Thijs Vermeir" <thijsvermeir gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Unit testing in Vala
- Date: Wed, 12 Dec 2007 23:36:28 +0100
On 11/12/2007, Thijs Vermeir <thijsvermeir gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]