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 void
captureScreenshot()
static void
setInstanceManager(ClassInstanceManager instanceManager)
static void
writeMessage(String message)
static void
writeMessage(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()
-
-