GLib.test_run_suite

function test_run_suite(suite: GLib.TestSuite): Number(gint) {
    // Gjs wrapper for g_test_run_suite()
}
  

Execute the tests within suite and all nested #GTestSuites. The test suites to be executed are filtered according to test path arguments (`-p testpath`) as parsed by GLib.test_init. See the GLib.test_run documentation for more information on the order that tests are run in.

GLib.test_run_suite or GLib.test_run may only be called once in a program.

Since 2.16

suite

a GLib.TestSuite

Returns

0 on success