The CanaryTestCallback class is used to represent callbacks added to a test using methods such as onBegin and onEnd. It has a constructor and no methods. It can be accessed via canary.Callback.

This class is primarily for internal usage by Canary. It should rarely if ever be necessary for user code to reference or interact with this class.

getOwner

Get the test object to which this callback belongs.

Returns: The CanaryTest instance to which this callback was added.

getName

Get a string naming this callback.

Returns: A string representing the name of this callback.

getTitle

Get a string containing an identifying title for this callback.

Returns: A string representing the title of this callback.