Example: Test, initialization

public static int main (string[] args) {
// Use ./test --help to review our options
Test.init (ref args);

// Register test cases via Test.add_func & friends

Test.run ();
return 0;
}

 valac --pkg glib-2.0 GLib.Test.init.vala

See:




2022 vala-language.org