get_path


Description:

[ Version ( since = "2.68" ) ]
public unowned string get_path ()

Gets the test path for the test currently being run.

In essence, it will be the same string passed as the first argument to e.g. add when the test was added.

This function returns a valid string only within a test function.

Note that this is a test path, not a file system path.

Returns:

the test path for the test currently being run


Namespace: GLib.Test
Package: glib-2.0