Package com.thoughtworks.gauge
Class Gauge
- java.lang.Object
-
- com.thoughtworks.gauge.Gauge
-
public class Gauge extends Object
-
-
Constructor Summary
Constructors Constructor Description Gauge()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcaptureScreenshot()static voidsetInstanceManager(ClassInstanceManager instanceManager)static voidwriteMessage(String message)static voidwriteMessage(String format, String... args)
-
-
-
Method Detail
-
setInstanceManager
public static void setInstanceManager(ClassInstanceManager instanceManager)
-
writeMessage
public static void writeMessage(String message)
- Parameters:
message- - Custom message that can be added at runtime that will be visible in reports.
-
writeMessage
public static void writeMessage(String format, String... args)
- Parameters:
format- - Custom messages that can be added at runtime that will be visible in reports. Format of the string messageargs- - Arguments for the format string as passed into String.format()
-
captureScreenshot
public static void captureScreenshot()
-
-