Package com.tngtech.jgiven.impl
Class Config
java.lang.Object
com.tngtech.jgiven.impl.Config
Helper class to access all system properties to configure JGiven.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Configconfig()booleandryRun()booleanReturns the directory set either via a configuration file or a system property.booleanvoidsetReportDir(File reportDir) voidsetReportEnabled(boolean enabled) voidsetTextReport(boolean b) boolean
-
Field Details
-
JGIVEN_REPORT_DIR
- See Also:
-
-
Method Details
-
config
-
getReportDir
Returns the directory set either via a configuration file or a system property. If no value is specified and the surefire test classpath is set, the default maven directory will be used, otherwise a default is returned. -
isReportEnabled
public boolean isReportEnabled() -
setReportEnabled
public void setReportEnabled(boolean enabled) -
textColorEnabled
-
textReport
public boolean textReport() -
setTextReport
public void setTextReport(boolean b) -
filterStackTrace
public boolean filterStackTrace() -
setReportDir
-
dryRun
public boolean dryRun()
-