Skip navigation links
$ A B C D E F G H I J K L M N O P Q R S T U V W X Y 

$

$(String, StepFunction<? super SELF>) - Method in class com.tngtech.jgiven.base.StageBase
A step method for creating ad-hoc steps using lambdas.
$(String) - Method in class com.tngtech.jgiven.base.StageBase
A simple helper to provide a description

A

aber() - Method in class com.tngtech.jgiven.lang.de.Stufe
 
AbstractJGivenConfiguration - Class in com.tngtech.jgiven.config
 
AbstractJGivenConfiguration() - Constructor for class com.tngtech.jgiven.config.AbstractJGivenConfiguration
 
AbstractReportConfig - Class in com.tngtech.jgiven.report
Basic configuration for a report with an extendable interface The configMap should always be in a valid state and have all possible flags, except the optional ones without a default (like --help) For examples see AsciiDocReportConfig
AbstractReportConfig(String...) - Constructor for class com.tngtech.jgiven.report.AbstractReportConfig
 
AbstractReportConfig() - Constructor for class com.tngtech.jgiven.report.AbstractReportConfig
 
AbstractReportGenerator - Class in com.tngtech.jgiven.report
This abstract class is the basic layout that includes the minimal functionality for reading/writing a report The following flags are predefined in AbstractReportConfig.createConfigOptions(): --format= --sourceDir= /--dir= --targetDir= /--todir= --title= --exclude-empty-scenarios=<boolean> --help / -h Everything has a default value.
AbstractReportGenerator() - Constructor for class com.tngtech.jgiven.report.AbstractReportGenerator
 
AbstractReportModelHandler - Class in com.tngtech.jgiven.report
 
AbstractReportModelHandler() - Constructor for class com.tngtech.jgiven.report.AbstractReportModelHandler
 
AbstractReportModelHandler.ScenarioDataTable - Interface in com.tngtech.jgiven.report
 
AbstractReportModelHandler.ScenarioDataTable.Row - Interface in com.tngtech.jgiven.report
Represents one case of a scenario
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.StepModel
 
add(ReportStatistics) - Method in class com.tngtech.jgiven.report.model.ReportStatistics
 
addAttachment(Attachment) - Method in interface com.tngtech.jgiven.CurrentStep
Adds an attachment to the current step
addAttachment(Attachment) - Method in class com.tngtech.jgiven.report.model.StepModel
 
addCase(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addColumn(int, List<String>) - Method in class com.tngtech.jgiven.report.model.DataTable
 
addDerivedArguments(String...) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
addDerivedParameter(String) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addDurationInNanos(long) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addExplicitArguments(String...) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
addFormatting(StepFormatter.Formatting<?, String>) - Method in class com.tngtech.jgiven.report.model.StepFormatter.ChainedFormatting
 
addIntroWord(Word) - Method in class com.tngtech.jgiven.report.model.StepModel
 
additionalConfigOptions(List<ConfigOption>) - Method in class com.tngtech.jgiven.report.AbstractReportConfig
This is used to create new ConfigOption for the AbstractReportConfig by appending them to the list
additionalConfigOptions(List<ConfigOption>) - Method in class com.tngtech.jgiven.report.asciidoc.AsciiDocReportConfig
 
additionalConfigOptions(List<ConfigOption>) - Method in class com.tngtech.jgiven.report.text.PlainTextReportConfig
 
addModelFile(ReportModelFile) - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
addNestedStep(StepModel) - Method in class com.tngtech.jgiven.report.model.StepModel
 
addParameterNames(String...) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addRow(int, List<String>) - Method in class com.tngtech.jgiven.report.model.DataTable
 
addScenarioModel(ScenarioModel) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
addScenarioModelOrMergeWithExistingOne(ScenarioModel) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
addStage(Class<T>) - Method in class com.tngtech.jgiven.base.ScenarioTestBase
Add a new stage class to the scenario.
addStep(StepModel) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
addTag(Class<? extends Annotation>, String...) - Method in interface com.tngtech.jgiven.CurrentScenario
Dynamically add a tag to the scenario.
addTag(Tag) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
addTag(Tag) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addTags(List<Tag>) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
addTags(List<Tag>) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addWords(Word...) - Method in class com.tngtech.jgiven.report.model.StepModel
 
AfterScenario - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed after the whole Scenario has been executed.
AfterStage - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed after a stage has been executed.
allScenarios - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 
AmbiguousResolutionException - Exception in com.tngtech.jgiven.exception
Thrown when a field cannot be uniquely resolved by the name or type.
AmbiguousResolutionException(String) - Constructor for exception com.tngtech.jgiven.exception.AmbiguousResolutionException
 
analyze(ReportModel) - Method in class com.tngtech.jgiven.report.analysis.CaseArgumentAnalyser
 
analyze(ScenarioModel) - Method in class com.tngtech.jgiven.report.analysis.CaseArgumentAnalyser
 
analyze(ScenarioModel) - Method in class com.tngtech.jgiven.report.analysis.CaseDifferenceAnalyzer
 
and() - Method in class com.tngtech.jgiven.Stage
 
angenommen() - Method in class com.tngtech.jgiven.lang.de.EinfacheSzenarioTestBasis
 
angenommen() - Method in class com.tngtech.jgiven.lang.de.Stufe
 
angenommen() - Method in class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 
AnnotationArgumentFormatter<T extends java.lang.annotation.Annotation> - Interface in com.tngtech.jgiven.format
Interface for defining a formatter for a custom annotation using the AnnotationFormat annotation.
AnnotationBasedFormatter(AnnotationArgumentFormatter, Annotation) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter.AnnotationBasedFormatter
 
AnnotationFormat - Annotation Type in com.tngtech.jgiven.annotation
Allows arguments of step methods to be formatted with an AnnotationArgumentFormatter.
append(CharSequence) - Method in class com.tngtech.jgiven.report.model.Word
 
application(String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a binary application media type with the given subtype.
APPLICATION_XML_UTF_8 - Static variable in class com.tngtech.jgiven.attachment.MediaType
application/xml
applicationUtf8(String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a textual application media type with the given subtype and UTF-8 encoding
apply(String) - Method in interface com.tngtech.jgiven.report.config.converter.StringConverter
 
apply(String) - Method in class com.tngtech.jgiven.report.config.converter.ToBoolean
 
apply(String) - Method in class com.tngtech.jgiven.report.config.converter.ToFile
 
apply(String) - Method in class com.tngtech.jgiven.report.config.converter.ToFormat
 
apply(String) - Method in class com.tngtech.jgiven.report.config.converter.ToString
 
apply(File) - Method in class com.tngtech.jgiven.report.json.ReportModelFileReader
 
apply(File) - Method in class com.tngtech.jgiven.report.json.ScenarioJsonReader
 
apply(STAGE) - Method in interface com.tngtech.jgiven.StepFunction
 
ArgumentFormatter<T> - Interface in com.tngtech.jgiven.format
Interface for defining custom argument formatter using the Format annotation.
ArgumentFormatting(F, String...) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter.ArgumentFormatting
 
ArgumentInfo - Class in com.tngtech.jgiven.report.model
 
ArgumentInfo() - Constructor for class com.tngtech.jgiven.report.model.ArgumentInfo
 
arguments() - Method in interface com.tngtech.jgiven.report.AbstractReportModelHandler.ScenarioDataTable.Row
The argument values of the case
argWord(String, String, String) - Static method in class com.tngtech.jgiven.report.model.Word
 
argWord(String, String, DataTable) - Static method in class com.tngtech.jgiven.report.model.Word
 
As - Annotation Type in com.tngtech.jgiven.annotation
This annotation can be used to override the default representation for a step method, test method or class name in the report.
as(As, Method) - Method in interface com.tngtech.jgiven.annotation.AsProvider
Provide the representation for a stage method or scenario.
as(As, Class<?>) - Method in interface com.tngtech.jgiven.annotation.AsProvider
Provide the representation for a scenario class.
as(String, List<String>, List<?>) - Method in interface com.tngtech.jgiven.annotation.CaseAsProvider
Provides the description of a single scenario case depending on the test parameters and optional additional arguments
AsciiDocReportConfig - Class in com.tngtech.jgiven.report.asciidoc
 
AsciiDocReportConfig(String...) - Constructor for class com.tngtech.jgiven.report.asciidoc.AsciiDocReportConfig
 
AsciiDocReportConfig() - Constructor for class com.tngtech.jgiven.report.asciidoc.AsciiDocReportConfig
 
AsciiDocReportGenerator - Class in com.tngtech.jgiven.report.asciidoc
 
AsciiDocReportGenerator() - Constructor for class com.tngtech.jgiven.report.asciidoc.AsciiDocReportGenerator
 
AsProvider - Interface in com.tngtech.jgiven.annotation
Provides a representation of a stage method, scenario or scenario class.
asString() - Method in class com.tngtech.jgiven.attachment.MediaType
 
Attachment - Class in com.tngtech.jgiven.attachment
Represents an attachment of a step.
Attachment(String, MediaType) - Constructor for class com.tngtech.jgiven.attachment.Attachment
Convenience constructor, where title is set to null
Attachment(String, MediaType, String) - Constructor for class com.tngtech.jgiven.attachment.Attachment
Creates a new instance of this Attachment
AttachmentModel - Class in com.tngtech.jgiven.report.model
 
AttachmentModel() - Constructor for class com.tngtech.jgiven.report.model.AttachmentModel
 
audio(String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a binary audio media type with the given subtype.

B

BeforeScenario - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed before the whole Scenario has been executed.
BeforeStage - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed before a stage is executed, i.e.
binary(MediaType.Type, String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a binary media type with the given type and subtype
BooleanFormatter - Class in com.tngtech.jgiven.format
General formatter to format boolean values.
BooleanFormatter() - Constructor for class com.tngtech.jgiven.format.BooleanFormatter
 
build() - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
build() - Method in class com.tngtech.jgiven.report.config.CommandLineOptionBuilder
 
build() - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
 
builder(Class<? extends Annotation>) - Static method in class com.tngtech.jgiven.config.TagConfiguration
 
buildFormattedWords() - Method in class com.tngtech.jgiven.report.model.StepFormatter
 
but() - Method in class com.tngtech.jgiven.Stage
 

C

CanWire - Interface in com.tngtech.jgiven.integration
 
CaseArgumentAnalyser - Class in com.tngtech.jgiven.report.analysis
Analyzes a report model and tries to infer which step method arguments match to which case argument.
CaseArgumentAnalyser() - Constructor for class com.tngtech.jgiven.report.analysis.CaseArgumentAnalyser
 
CaseAs - Annotation Type in com.tngtech.jgiven.annotation
Use to define a description provider for scenario cases.
CaseAsProvider - Interface in com.tngtech.jgiven.annotation
Provides the description of a scenario case.
CaseDifferenceAnalyzer - Class in com.tngtech.jgiven.report.analysis
 
CaseDifferenceAnalyzer() - Constructor for class com.tngtech.jgiven.report.analysis.CaseDifferenceAnalyzer
 
caseHeader(int, List<String>, List<String>) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Is invoked when a scenario has multiple cases, but no data table.
CenarioTesteBase<DADO,QUANDO,ENTAO> - Class in com.tngtech.jgiven.lang.pt
 
CenarioTesteBase() - Constructor for class com.tngtech.jgiven.lang.pt.CenarioTesteBase
 
ChainedFormatting(ObjectFormatter<T>) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter.ChainedFormatting
 
className(String) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
 
clearCases() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
color(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
com() - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
com.tngtech.jgiven - package com.tngtech.jgiven
 
com.tngtech.jgiven.annotation - package com.tngtech.jgiven.annotation
 
com.tngtech.jgiven.attachment - package com.tngtech.jgiven.attachment
 
com.tngtech.jgiven.base - package com.tngtech.jgiven.base
 
com.tngtech.jgiven.config - package com.tngtech.jgiven.config
 
com.tngtech.jgiven.exception - package com.tngtech.jgiven.exception
 
com.tngtech.jgiven.format - package com.tngtech.jgiven.format
 
com.tngtech.jgiven.format.table - package com.tngtech.jgiven.format.table
 
com.tngtech.jgiven.integration - package com.tngtech.jgiven.integration
 
com.tngtech.jgiven.lang.de - package com.tngtech.jgiven.lang.de
 
com.tngtech.jgiven.lang.es - package com.tngtech.jgiven.lang.es
 
com.tngtech.jgiven.lang.pt - package com.tngtech.jgiven.lang.pt
 
com.tngtech.jgiven.report - package com.tngtech.jgiven.report
 
com.tngtech.jgiven.report.analysis - package com.tngtech.jgiven.report.analysis
 
com.tngtech.jgiven.report.asciidoc - package com.tngtech.jgiven.report.asciidoc
 
com.tngtech.jgiven.report.config - package com.tngtech.jgiven.report.config
 
com.tngtech.jgiven.report.config.converter - package com.tngtech.jgiven.report.config.converter
 
com.tngtech.jgiven.report.json - package com.tngtech.jgiven.report.json
 
com.tngtech.jgiven.report.model - package com.tngtech.jgiven.report.model
 
com.tngtech.jgiven.report.text - package com.tngtech.jgiven.report.text
 
comentario(String) - Method in class com.tngtech.jgiven.lang.es.Fase
 
comentario(String) - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
CommandLineOption - Class in com.tngtech.jgiven.report.config
Defines a command line interface for use in ConfigOption with automatic help description generation used by ConfigOptionParser.printUsageAndExit(List) Instantiation through CommandLineOptionBuilder
CommandLineOption() - Constructor for class com.tngtech.jgiven.report.config.CommandLineOption
 
CommandLineOptionBuilder - Class in com.tngtech.jgiven.report.config
An easier interface to instantiate CommandLineOption for use in ConfigOption
CommandLineOptionBuilder(String) - Constructor for class com.tngtech.jgiven.report.config.CommandLineOptionBuilder
 
comment(String) - Method in class com.tngtech.jgiven.Stage
 
completeReportModel - Variable in class com.tngtech.jgiven.report.AbstractReportGenerator
 
CompleteReportModel - Class in com.tngtech.jgiven.report.model
Represents the complete report model of all report files.
CompleteReportModel() - Constructor for class com.tngtech.jgiven.report.model.CompleteReportModel
 
con() - Method in class com.tngtech.jgiven.lang.es.Fase
 
config - Variable in class com.tngtech.jgiven.report.AbstractReportGenerator
 
ConfigOption - Class in com.tngtech.jgiven.report.config
Defines a configuration for the report which can be from the command line, property or the environment Instantiated with ConfigOptionBuilder For use in AbstractReportConfig.additionalConfigOptions(List) and the generated object map in AbstractReportConfig.AbstractReportConfig(String...)
ConfigOption() - Constructor for class com.tngtech.jgiven.report.config.ConfigOption
 
ConfigOptionBuilder - Class in com.tngtech.jgiven.report.config
An easier interface to create ConfigOption for use in com.tngtech.jgiven.report.AbstractReportGenerator#additionalConfigOptions(List)
ConfigOptionBuilder(String) - Constructor for class com.tngtech.jgiven.report.config.ConfigOptionBuilder
 
ConfigOptionParser - Class in com.tngtech.jgiven.report.config
 
ConfigOptionParser() - Constructor for class com.tngtech.jgiven.report.config.ConfigOptionParser
 
ConfigurationUtil - Class in com.tngtech.jgiven.config
 
ConfigurationUtil() - Constructor for class com.tngtech.jgiven.config.ConfigurationUtil
 
configure() - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguration
 
configure() - Method in class com.tngtech.jgiven.config.DefaultConfiguration
 
configureTag(Class<? extends Annotation>) - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguration
Configures the given annotation as a tag.
ConfigValue - Enum in com.tngtech.jgiven.config
Represents a configuration value
copy() - Method in class com.tngtech.jgiven.report.model.Tag
 
create(Class<?>, String, Table, Annotation[], FormatterConfiguration, ObjectFormatter<?>) - Method in class com.tngtech.jgiven.format.table.DefaultRowFormatterFactory
 
create(FormatterConfiguration, ObjectFormatter<?>) - Method in class com.tngtech.jgiven.format.table.DefaultTableFormatter.Factory
 
create(Class<?>, String, Table, Annotation[], FormatterConfiguration, ObjectFormatter<?>) - Method in class com.tngtech.jgiven.format.table.FieldBasedRowFormatter.Factory
 
create(Class<?>, String, Table, Annotation[], FormatterConfiguration, ObjectFormatter<?>) - Method in class com.tngtech.jgiven.format.table.PlainRowFormatter.Factory
 
create(Class<?>, String, Table, Annotation[], FormatterConfiguration, ObjectFormatter<?>) - Method in interface com.tngtech.jgiven.format.table.RowFormatterFactory
Creates a new RowFormatter instance.
create(FormatterConfiguration, ObjectFormatter<?>) - Method in interface com.tngtech.jgiven.format.table.TableFormatterFactory
Creates a TableFormatter
createNewScenario() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
createReportConfig(String...) - Method in class com.tngtech.jgiven.report.AbstractReportGenerator
 
createReportConfig(String...) - Method in class com.tngtech.jgiven.report.asciidoc.AsciiDocReportGenerator
 
createReportConfig(String...) - Method in class com.tngtech.jgiven.report.text.PlainTextReportGenerator
 
createScenario() - Method in class com.tngtech.jgiven.base.DualScenarioTestBase
 
createScenario() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
createScenario() - Method in class com.tngtech.jgiven.base.SimpleScenarioTestBase
 
cssClass(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
cuando() - Method in class com.tngtech.jgiven.lang.es.EscenarioTestBase
 
cuando() - Method in class com.tngtech.jgiven.lang.es.Fase
 
cuando() - Method in class com.tngtech.jgiven.lang.es.SimpleEscenarioTestBase
 
currentCaseModel - Variable in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
CurrentScenario - Interface in com.tngtech.jgiven
This interface can be injected into a stage using the ScenarioState annotation.
currentScenarioModel - Variable in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
CurrentStep - Interface in com.tngtech.jgiven
This interface can be injected into a stage by using the ScenarioState annotation.

D

dada() - Method in class com.tngtech.jgiven.lang.es.EscenarioTestBase
 
dada() - Method in class com.tngtech.jgiven.lang.es.Fase
 
dada() - Method in class com.tngtech.jgiven.lang.es.SimpleEscenarioTestBase
 
dada() - Method in class com.tngtech.jgiven.lang.pt.CenarioTesteBase
 
dada() - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
dada() - Method in class com.tngtech.jgiven.lang.pt.SimplesCenarioTesteBase
 
dado() - Method in class com.tngtech.jgiven.lang.es.EscenarioTestBase
 
dado() - Method in class com.tngtech.jgiven.lang.es.Fase
 
dado() - Method in class com.tngtech.jgiven.lang.es.SimpleEscenarioTestBase
 
dado() - Method in class com.tngtech.jgiven.lang.pt.CenarioTesteBase
 
dado() - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
dado() - Method in class com.tngtech.jgiven.lang.pt.SimplesCenarioTesteBase
 
dann() - Method in class com.tngtech.jgiven.lang.de.EinfacheSzenarioTestBasis
 
dann() - Method in class com.tngtech.jgiven.lang.de.Stufe
 
dann() - Method in class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 
DataTable - Class in com.tngtech.jgiven.report.model
Represents a data table argument.
DataTable(Table.HeaderType, List<List<String>>) - Constructor for class com.tngtech.jgiven.report.model.DataTable
 
dataTable(AbstractReportModelHandler.ScenarioDataTable) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Is invoked at the end of a scenario, when the scenario has multiple case and a data table.
DataTablePlainTextScenarioWriter - Class in com.tngtech.jgiven.report.text
 
DataTablePlainTextScenarioWriter(PrintWriter, boolean) - Constructor for class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
DataTables - Class in com.tngtech.jgiven
A utility class to create data tables.
DataTables() - Constructor for class com.tngtech.jgiven.DataTables
 
DateFormatter - Class in com.tngtech.jgiven.format
General formatter to format Date values.
DateFormatter() - Constructor for class com.tngtech.jgiven.format.DateFormatter
 
DEFAULT_NUMBERED_HEADER - Static variable in class com.tngtech.jgiven.format.table.DefaultTableFormatter
 
DefaultConfiguration - Class in com.tngtech.jgiven.config
 
DefaultConfiguration() - Constructor for class com.tngtech.jgiven.config.DefaultConfiguration
 
DefaultFormatter<T> - Class in com.tngtech.jgiven.format
A default formatter that merely use String.valueOf(Object), except for arrays where Arrays.deepToString(Object[]) is used.
DefaultFormatter() - Constructor for class com.tngtech.jgiven.format.DefaultFormatter
 
DefaultObjectFormatter - Class in com.tngtech.jgiven.format
A default formatter for Object types
DefaultObjectFormatter() - Constructor for class com.tngtech.jgiven.format.DefaultObjectFormatter
 
DefaultRowFormatterFactory - Class in com.tngtech.jgiven.format.table
Default RowFormatterFactory that evaluates the Table.objectFormatting() attribute to create a RowFormatter.
DefaultRowFormatterFactory() - Constructor for class com.tngtech.jgiven.format.table.DefaultRowFormatterFactory
 
DefaultTableFormatter - Class in com.tngtech.jgiven.format.table
The default implementation to format a table argument
DefaultTableFormatter(FormatterConfiguration, ObjectFormatter<?>) - Constructor for class com.tngtech.jgiven.format.table.DefaultTableFormatter
 
DefaultTableFormatter.Factory - Class in com.tngtech.jgiven.format.table
 
defaultValue(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
Description - Annotation Type in com.tngtech.jgiven.annotation
This annotation can be used to provide a description for a test class.
description(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
descriptionGenerator(Class<? extends TagDescriptionGenerator>) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
DoNotIntercept - Annotation Type in com.tngtech.jgiven.annotation
Methods of stages classes annotated with this annotation will not be intercepted by JGiven.
DualScenarioTestBase<GIVEN_WHEN,THEN> - Class in com.tngtech.jgiven.base
ScenarioTest that only takes two type parameters, where the first is used for combined GIVEN and WHEN and the second is used for THEN.
DualScenarioTestBase() - Constructor for class com.tngtech.jgiven.base.DualScenarioTestBase
 
durationInNanos - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 

E

e() - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
EinfacheSzenarioTestBasis<STUFE> - Class in com.tngtech.jgiven.lang.de
 
EinfacheSzenarioTestBasis() - Constructor for class com.tngtech.jgiven.lang.de.EinfacheSzenarioTestBasis
 
entao() - Method in class com.tngtech.jgiven.lang.pt.CenarioTesteBase
 
entao() - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
entao() - Method in class com.tngtech.jgiven.lang.pt.SimplesCenarioTesteBase
 
entonces() - Method in class com.tngtech.jgiven.lang.es.EscenarioTestBase
 
entonces() - Method in class com.tngtech.jgiven.lang.es.Fase
 
entonces() - Method in class com.tngtech.jgiven.lang.es.SimpleEscenarioTestBase
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.DataTable
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.NamedArgument
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.Tag
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.Word
 
EscenarioTestBase<DADO,CUANDO,ENTONCES> - Class in com.tngtech.jgiven.lang.es
 
EscenarioTestBase() - Constructor for class com.tngtech.jgiven.lang.es.EscenarioTestBase
 
Etapa<SELF extends Etapa<?>> - Class in com.tngtech.jgiven.lang.pt
Uma versão em português da classe Stage.
Etapa() - Constructor for class com.tngtech.jgiven.lang.pt.Etapa
 
ExecutionStatus - Enum in com.tngtech.jgiven.report.model
 
ExpectedScenarioState - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be expected by a scenario stage.
explodeArray(boolean) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
ExtendedDescription - Annotation Type in com.tngtech.jgiven.annotation
This annotation can be used to define an extended description for a step method or a test method.

F

Factory() - Constructor for class com.tngtech.jgiven.format.table.DefaultTableFormatter.Factory
 
Factory() - Constructor for class com.tngtech.jgiven.format.table.FieldBasedRowFormatter.Factory
 
Factory() - Constructor for class com.tngtech.jgiven.format.table.PlainRowFormatter.Factory
 
failedScenarios - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 
FailIfPassedException - Exception in com.tngtech.jgiven.exception
 
FailIfPassedException() - Constructor for exception com.tngtech.jgiven.exception.FailIfPassedException
 
Fase<SELF extends Fase<?>> - Class in com.tngtech.jgiven.lang.es
Una versión en español de la clase Stage.
Fase() - Constructor for class com.tngtech.jgiven.lang.es.Fase
 
FieldBasedRowFormatter - Class in com.tngtech.jgiven.format.table
Default implementation of the RowFormatter that uses the fields of an object as columns of the table
FieldBasedRowFormatter(Class<?>, String, Table, Annotation[]) - Constructor for class com.tngtech.jgiven.format.table.FieldBasedRowFormatter
 
FieldBasedRowFormatter.Factory - Class in com.tngtech.jgiven.format.table
Factory for creating instances of FieldBasedRowFormatter
file - Variable in exception com.tngtech.jgiven.report.json.ScenarioJsonReader.JsonReaderException
 
file - Variable in class com.tngtech.jgiven.report.model.ReportModelFile
 
findScenarioModel(String) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
flush() - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
Format - Annotation Type in com.tngtech.jgiven.annotation
Allows arguments of step methods to be formatted with an ArgumentFormatter.
format(Object, T) - Method in interface com.tngtech.jgiven.format.AnnotationArgumentFormatter
Format a single argument by taking the given annotation into account.
format(T, String...) - Method in interface com.tngtech.jgiven.format.ArgumentFormatter
Format a single argument by taking optional formatter arguments into account.
format(Boolean, String...) - Method in class com.tngtech.jgiven.format.BooleanFormatter
 
format(Date, String...) - Method in class com.tngtech.jgiven.format.DateFormatter
A SimpleDateFormat pattern is expected as first argument.
An optional second argument can be set to specify a locale as an ISO 639 language code.
format(T, String...) - Method in class com.tngtech.jgiven.format.DefaultFormatter
 
format(T, Annotation...) - Method in class com.tngtech.jgiven.format.DefaultFormatter
 
format(T) - Method in class com.tngtech.jgiven.format.DefaultFormatter
 
format(T, Annotation...) - Method in interface com.tngtech.jgiven.format.Formatter
Formats a step method argument.
format(Boolean, String...) - Method in class com.tngtech.jgiven.format.NotFormatter
 
format(T) - Method in interface com.tngtech.jgiven.format.ObjectFormatter
 
format(Object, POJOFormat) - Method in class com.tngtech.jgiven.format.POJOAnnotationFormatter
 
format(Object, Formatf) - Method in class com.tngtech.jgiven.format.PrintfAnnotationFormatter
 
format(Object, String...) - Method in class com.tngtech.jgiven.format.PrintfFormatter
 
format(Object, Table, String, Annotation...) - Method in class com.tngtech.jgiven.format.table.DefaultTableFormatter
 
format(Object, Table, String, Annotation...) - Method in interface com.tngtech.jgiven.format.table.TableFormatter
Generates a DataTable from a given table argument
format(Object, String...) - Method in class com.tngtech.jgiven.report.model.StepFormatter.AnnotationBasedFormatter
 
format(T) - Method in class com.tngtech.jgiven.report.model.StepFormatter.ArgumentFormatting
 
format(T) - Method in class com.tngtech.jgiven.report.model.StepFormatter.ChainedFormatting
 
format(T) - Method in class com.tngtech.jgiven.report.model.StepFormatter.Formatting
 
format(Object) - Method in class com.tngtech.jgiven.report.model.StepFormatter.TableFormatting
 
format(T) - Method in class com.tngtech.jgiven.report.model.StepFormatter.TypeBasedFormatting
 
Formatf - Annotation Type in com.tngtech.jgiven.annotation
A special format annotation that uses the formatting known from the String.format method.
formatRow(Object) - Method in class com.tngtech.jgiven.format.table.FieldBasedRowFormatter
 
formatRow(Object) - Method in class com.tngtech.jgiven.format.table.PlainRowFormatter
 
formatRow(Object) - Method in class com.tngtech.jgiven.format.table.RowFormatter
Generates a single row of the data table for the given object.
formatTable(Object) - Method in class com.tngtech.jgiven.report.model.StepFormatter.TableFormatting
 
Formatter<T> - Interface in com.tngtech.jgiven.format
Interface for defining a global argument formatter.
formatter - Variable in class com.tngtech.jgiven.report.model.StepFormatter.Formatting
 
FormatterConfiguration - Interface in com.tngtech.jgiven.config
 
fromBase64(String, MediaType) - Static method in class com.tngtech.jgiven.attachment.Attachment
fromBinaryBytes(byte[], MediaType) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates an attachment from a given array of bytes.
fromBinaryFile(File, MediaType) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates an attachment from the given binary file file.
fromBinaryInputStream(InputStream, MediaType) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates an attachment from a binary input stream.
fromString(String) - Static method in enum com.tngtech.jgiven.attachment.MediaType.Type
Get the type from a given string
fromString(String) - Static method in enum com.tngtech.jgiven.config.ConfigValue
 
fromStringOrNull(String) - Static method in enum com.tngtech.jgiven.report.ReportGenerator.Format
 
fromText(String, MediaType) - Static method in class com.tngtech.jgiven.attachment.Attachment
fromTextFile(File, MediaType) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates a non-binary attachment from the given file.
fromTextInputStream(InputStream, MediaType) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates a non-binary attachment from the given file.

G

gegeben() - Method in class com.tngtech.jgiven.lang.de.EinfacheSzenarioTestBasis
 
gegeben() - Method in class com.tngtech.jgiven.lang.de.Stufe
 
gegeben() - Method in class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 
generate() - Method in class com.tngtech.jgiven.report.AbstractReportGenerator
This implements the main functionality of the report generator, utilizing the information from the specialized AbstractReportConfig
generate() - Method in class com.tngtech.jgiven.report.asciidoc.AsciiDocReportGenerator
 
generate(List<ConfigOption>, String...) - Method in class com.tngtech.jgiven.report.config.ConfigOptionParser
Parses the configuration list and tries to create a mapping of the corresponding objects from the command line, properties or environment variables As long as the StringConverter are implemented with a null as fail and a working conversion the mapped objects are always in a correct state and castable to their representation
generate(String...) - Method in class com.tngtech.jgiven.report.ReportGenerator
Starts the respective report (default is HTML5)
generate() - Method in class com.tngtech.jgiven.report.text.PlainTextReportGenerator
 
generateDescription(TagConfiguration, Annotation, Object) - Method in interface com.tngtech.jgiven.annotation.TagDescriptionGenerator
Implement this method to generate the description for the given annotation and its value.
generateFromCommandLine(String...) - Method in class com.tngtech.jgiven.report.AbstractReportGenerator
 
generateHref(TagConfiguration, Annotation, Object) - Method in interface com.tngtech.jgiven.annotation.TagHrefGenerator
Implement this method to generate the href for the given annotation and its value.
generateHtml5Report() - Static method in class com.tngtech.jgiven.report.ReportGenerator
Searches the Html5ReportGenerator in Java path and instantiates the report
generateReport() - Method in class com.tngtech.jgiven.report.AbstractReportGenerator
 
generateWithConfig(AbstractReportConfig) - Method in class com.tngtech.jgiven.report.AbstractReportGenerator
 
getAllReportModels() - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getAllScenarios() - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getAllTags() - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getAnnotationFullType() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getAnnotationType() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getArgumentInfo() - Method in class com.tngtech.jgiven.report.model.Word
 
getArgumentName() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
getAttachments() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getCase(int) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getCaseNr() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getCharset() - Method in class com.tngtech.jgiven.attachment.MediaType
 
getClassName() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getClassName() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getClosing() - Method in enum com.tngtech.jgiven.annotation.POJOFormat.BracketsEnum
 
getColor() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getColor() - Method in class com.tngtech.jgiven.report.model.Tag
 
getColumnCount() - Method in class com.tngtech.jgiven.report.model.DataTable
 
getCommandLineOption() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getComment() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getCompleteSentence() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getConfiguration(Class<? extends Object>) - Static method in class com.tngtech.jgiven.config.ConfigurationUtil
 
getContent() - Method in class com.tngtech.jgiven.attachment.Attachment
The content of the attachment represented as a string.
getConverter() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getCssClass() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getCssClass() - Method in class com.tngtech.jgiven.report.model.Tag
 
getCssClassOrDefault() - Method in class com.tngtech.jgiven.report.model.Tag
 
getData() - Method in class com.tngtech.jgiven.report.model.DataTable
 
getDataTable() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
getDefaultValue() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getDelimiter() - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
getDerivedArguments() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getDerivedParameters() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getDescription() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getDescription() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getDescription() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getDescription() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getDescription() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getDescription() - Method in class com.tngtech.jgiven.report.model.Tag
 
getDescriptionGenerator() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getDescriptionOrDefault(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
getDurationInNanos() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getDurationInNanos() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getDurationInNanos() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getEnhancedDescription() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getEnvString() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getErrorMessage() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getExcludeEmptyScenarios() - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
getExecutionStatus() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getExecutionStatus() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getExplicitArguments() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getExplicitParameters() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getExtendedDescription() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getExtendedDescription() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getFailedScenarios() - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getFailedScenarios() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getFileName() - Method in class com.tngtech.jgiven.attachment.Attachment
An optional filename for the attachment.
getFileName() - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
getFirstStep() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getFirstStepModelOfLastScenario() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getFormat(String...) - Static method in class com.tngtech.jgiven.report.config.ConfigOptionParser
Terminates with a help message if the parse is not successful
getFormattedValue() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
getFormattedValue() - Method in class com.tngtech.jgiven.report.model.Word
 
getFormatter(Class<?>) - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguration
 
getFormatter(Class<?>) - Method in interface com.tngtech.jgiven.config.FormatterConfiguration
 
getFormatter() - Method in class com.tngtech.jgiven.report.model.StepFormatter.Formatting
 
getFullType() - Method in class com.tngtech.jgiven.report.model.Tag
 
getHeaderType() - Method in class com.tngtech.jgiven.report.model.DataTable
 
getHref() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getHref() - Method in class com.tngtech.jgiven.report.model.Tag
 
getHrefGenerator() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getLastScenarioModel() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getLastWord() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getLongFlag() - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
getLongName() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getMediaType() - Method in class com.tngtech.jgiven.attachment.Attachment
The type of the attachment.
getMediaType() - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
getName() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getName() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getName() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getName() - Method in class com.tngtech.jgiven.report.model.Tag
 
getNestedSteps() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getOpening() - Method in enum com.tngtech.jgiven.annotation.POJOFormat.BracketsEnum
 
getPackageName() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getParameterName() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
getPendingScenarios() - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getPendingScenarios() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getPlaceholder() - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
getPropertyString() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getReportModel() - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
getRowCount() - Method in class com.tngtech.jgiven.report.model.DataTable
 
getScenario() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
getScenarioCases() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getScenarios() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getScenariosByTag(Tag) - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getScenariosWithStatus(ExecutionStatus, ExecutionStatus...) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getShortFlag() - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
getShortName() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getShowDirectly() - Method in class com.tngtech.jgiven.attachment.Attachment
Whether this attachment is shown showDirectly or not
getShownInNavigation() - Method in class com.tngtech.jgiven.report.model.Tag
 
getSimpleClassName() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getSourceDir() - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
getStackTrace() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getStatistics(ReportModelFile) - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getStatistics(ReportModel) - Method in class com.tngtech.jgiven.report.model.StatisticsCalculator
 
getStatus() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getStep(int) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getSteps() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getStyle() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getStyle() - Method in class com.tngtech.jgiven.report.model.Tag
 
getSubType() - Method in class com.tngtech.jgiven.attachment.MediaType
The subtype of the Media Type.
getTagConfiguration(Class<? extends Annotation>) - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguration
 
getTagIdMap() - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getTagIds() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getTagMap() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getTags() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getTags() - Method in class com.tngtech.jgiven.report.model.Tag
 
getTagWithId(String) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getTargetDir() - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
getTestClassSuffixRegEx() - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguration
 
getTestMethodName() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getTitle() - Method in class com.tngtech.jgiven.attachment.Attachment
An optional title of the attachment.
getTitle() - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
getTitle() - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
getTotalStatistics() - Method in class com.tngtech.jgiven.report.model.CompleteReportModel
 
getType() - Method in class com.tngtech.jgiven.attachment.MediaType
The type of the Media Type.
getType() - Method in class com.tngtech.jgiven.report.model.Tag
 
getValue() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
getValue(ConfigOption) - Method in class com.tngtech.jgiven.report.config.ConfigOptionParser
 
getValue() - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
getValue() - Method in class com.tngtech.jgiven.report.model.NamedArgument
 
getValue() - Method in class com.tngtech.jgiven.report.model.Word
 
getValues() - Method in class com.tngtech.jgiven.report.model.Tag
 
getValueString() - Method in class com.tngtech.jgiven.report.model.Tag
 
getWord(int) - Method in class com.tngtech.jgiven.report.model.StepModel
 
getWords() - Method in class com.tngtech.jgiven.report.model.StepModel
 
GIF - Static variable in class com.tngtech.jgiven.attachment.MediaType
image/gif
given() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
given() - Method in class com.tngtech.jgiven.Stage
 

H

handle(ReportModel, ReportModelHandler) - Method in class com.tngtech.jgiven.report.AbstractReportModelHandler
 
handleReportModel(ReportModelFile) - Method in interface com.tngtech.jgiven.report.json.ReportModelFileHandler
 
handleReportModel(ReportModelFile) - Method in class com.tngtech.jgiven.report.json.ReportModelReader
 
handleReportModel(ReportModel, File) - Method in class com.tngtech.jgiven.report.text.PlainTextReportGenerator
 
hasArgument() - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
hasAttachment() - Method in class com.tngtech.jgiven.report.model.StepModel
 
hasDefault() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
hasDescription() - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
hasExtendedDescription() - Method in class com.tngtech.jgiven.report.model.StepModel
 
hashCode() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
hashCode() - Method in class com.tngtech.jgiven.report.model.DataTable
 
hashCode() - Method in class com.tngtech.jgiven.report.model.NamedArgument
 
hashCode() - Method in class com.tngtech.jgiven.report.model.Tag
 
hashCode() - Method in class com.tngtech.jgiven.report.model.Word
 
hasHorizontalHeader() - Method in class com.tngtech.jgiven.report.model.DataTable
 
hasInlineAttachment() - Method in class com.tngtech.jgiven.report.model.StepModel
 
hasShortFlag() - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
hasVerticalHeader() - Method in class com.tngtech.jgiven.report.model.DataTable
 
header() - Method in class com.tngtech.jgiven.format.table.FieldBasedRowFormatter
 
header() - Method in class com.tngtech.jgiven.format.table.PlainRowFormatter
 
header() - Method in class com.tngtech.jgiven.format.table.RowFormatter
Generates the header row of the data table
Hidden - Annotation Type in com.tngtech.jgiven.annotation
Annotates elements that should be hidden in reports.
href(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
hrefGenerator(Class<? extends TagHrefGenerator>) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 

I

ignoreValue(boolean) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
image(String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a binary image media type with the given subtype.
imageUtf8(String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a textual image media type with the given subtype and UTF-8 encoding
INDENT - Static variable in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
INSTANCE - Static variable in class com.tngtech.jgiven.format.DefaultFormatter
 
IntroWord - Annotation Type in com.tngtech.jgiven.annotation
Marks a method as an introduction word of a step.
introWord(String) - Static method in class com.tngtech.jgiven.report.model.Word
 
introWord(String) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked for intro words like given, when, then
InvocationMode - Enum in com.tngtech.jgiven.report.model
 
isArg() - Method in class com.tngtech.jgiven.report.model.Word
 
isBinary() - Method in class com.tngtech.jgiven.attachment.MediaType
Whether this media type is binary or not.
isBinary() - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
isCasesAsTable() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
isDataTable() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
isDataTable() - Method in class com.tngtech.jgiven.report.model.Word
 
isDifferent() - Method in class com.tngtech.jgiven.report.model.Word
 
isExplodeArray() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
isFailed() - Method in class com.tngtech.jgiven.report.model.StepModel
 
isHasArgument() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
isHorizontal() - Method in enum com.tngtech.jgiven.annotation.Table.HeaderType
 
isIgnoreValue() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
isImage() - Method in class com.tngtech.jgiven.attachment.MediaType
 
isIntroWord() - Method in class com.tngtech.jgiven.report.model.Word
 
isOptional() - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
isParameter() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
isPending() - Method in class com.tngtech.jgiven.report.model.StepModel
 
isPrependType() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
isPrependType() - Method in class com.tngtech.jgiven.report.model.Tag
 
isSectionTitle() - Method in class com.tngtech.jgiven.report.model.StepModel
 
isShowDirectly() - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
isSkipped() - Method in class com.tngtech.jgiven.report.model.StepModel
 
IsTag - Annotation Type in com.tngtech.jgiven.annotation
Marks an annotation to be used as a tag in JGiven reports.
isVertical() - Method in enum com.tngtech.jgiven.annotation.Table.HeaderType
 

J

JGivenConfiguration - Annotation Type in com.tngtech.jgiven.annotation
This annotation can be applied to a test class to configure: Tags Global formatter
JGivenExecutionException - Exception in com.tngtech.jgiven.exception
This exception is thrown when JGiven tried to execute a used defined method, but the method could not be executed for some reason.
JGivenExecutionException(String, Throwable) - Constructor for exception com.tngtech.jgiven.exception.JGivenExecutionException
 
JGivenInjectionException - Exception in com.tngtech.jgiven.exception
 
JGivenInjectionException(String, Exception) - Constructor for exception com.tngtech.jgiven.exception.JGivenInjectionException
 
JGivenInstallationException - Exception in com.tngtech.jgiven.exception
 
JGivenInstallationException(String) - Constructor for exception com.tngtech.jgiven.exception.JGivenInstallationException
 
JGivenInstallationException(String, Throwable) - Constructor for exception com.tngtech.jgiven.exception.JGivenInstallationException
 
JGivenInternalDefectException - Exception in com.tngtech.jgiven.exception
If this exception is thrown there is most likely a bug in JGiven.
JGivenInternalDefectException(String) - Constructor for exception com.tngtech.jgiven.exception.JGivenInternalDefectException
 
JGivenInternalDefectException(String, Exception) - Constructor for exception com.tngtech.jgiven.exception.JGivenInternalDefectException
 
JGivenMissingRequiredScenarioStateException - Exception in com.tngtech.jgiven.exception
This exception is thrown if a scenario state has been marked as required, but the state has not been provided.
JGivenMissingRequiredScenarioStateException(Field) - Constructor for exception com.tngtech.jgiven.exception.JGivenMissingRequiredScenarioStateException
 
JGivenUserException - Exception in com.tngtech.jgiven.exception
This exception is thrown when JGiven tried to execute a user-defined method and that method has thrown an exception.
JGivenUserException(Method, String, Throwable) - Constructor for exception com.tngtech.jgiven.exception.JGivenUserException
 
JGivenWrongUsageException - Exception in com.tngtech.jgiven.exception
Thrown when JGiven was used in some wrong way.
JGivenWrongUsageException(String) - Constructor for exception com.tngtech.jgiven.exception.JGivenWrongUsageException
 
JGivenWrongUsageException(String, Class<?>) - Constructor for exception com.tngtech.jgiven.exception.JGivenWrongUsageException
 
JGivenWrongUsageException(String, Exception) - Constructor for exception com.tngtech.jgiven.exception.JGivenWrongUsageException
 
JGivenWrongUsageException(String, Class<?>, Exception) - Constructor for exception com.tngtech.jgiven.exception.JGivenWrongUsageException
 
JPEG - Static variable in class com.tngtech.jgiven.attachment.MediaType
image/jpeg
json(String) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates a text attachment with the given content with media type application/json.
JSON_UTF_8 - Static variable in class com.tngtech.jgiven.attachment.MediaType
application/json
JsonModelTraverser - Class in com.tngtech.jgiven.report.json
 
JsonModelTraverser() - Constructor for class com.tngtech.jgiven.report.json.JsonModelTraverser
 
JsonReaderException(File, Exception) - Constructor for exception com.tngtech.jgiven.report.json.ScenarioJsonReader.JsonReaderException
 

K

kommentiere(String) - Method in class com.tngtech.jgiven.lang.de.Stufe
 

L

loadReportModel() - Method in class com.tngtech.jgiven.report.AbstractReportGenerator
 

M

main(String...) - Static method in class com.tngtech.jgiven.report.ReportGenerator
 
mas() - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
MediaType - Class in com.tngtech.jgiven.attachment
Represents a (simplified) Media Type.
MediaType.Type - Enum in com.tngtech.jgiven.attachment
Represents the type of a Media Type
mit() - Method in class com.tngtech.jgiven.lang.de.Stufe
 
model - Variable in class com.tngtech.jgiven.report.model.ReportModelFile
 
models - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 

N

name(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
name - Variable in class com.tngtech.jgiven.report.model.NamedArgument
 
NamedArgument - Class in com.tngtech.jgiven.report.model
 
NamedArgument(String, Object) - Constructor for class com.tngtech.jgiven.report.model.NamedArgument
 
NamedFormat - Annotation Type in com.tngtech.jgiven.annotation
Allow to specify an identifiable format
NamedFormats - Annotation Type in com.tngtech.jgiven.annotation
Allow to define a set of identifiable formats (NamedFormat).
One usage of such set is to define formats for (part or all) fields of a bean.
NESTED_HEADING - Static variable in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
NESTED_INDENT - Static variable in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
NestedSteps - Annotation Type in com.tngtech.jgiven.annotation
Marks a step method to have nested steps.
NO_VALUE - Static variable in annotation type com.tngtech.jgiven.annotation.As
Dummy value to indicate that no value was set
NO_VALUE - Static variable in annotation type com.tngtech.jgiven.annotation.CaseAs
Dummy value to indicate that no value was set
nonBinary(MediaType.Type, String, Charset) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a non-binary media type with the given type, subtype, and charSet
nonBinaryUtf8(MediaType.Type, String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a non-binary media type with the given type, subtype, and UTF-8 encoding
NotFormatter - Class in com.tngtech.jgiven.format
Translates false to the word "not" and true to the empty word "".
NotFormatter() - Constructor for class com.tngtech.jgiven.format.NotFormatter
 
nr() - Method in interface com.tngtech.jgiven.report.AbstractReportModelHandler.ScenarioDataTable.Row
The row number starting from 1
numCases - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 
numClasses - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 
numFailedCases - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 
numFailedScenarios - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 
numPendingScenarios - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 
numScenarios - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 
numSteps - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 
numSuccessfulScenarios - Variable in class com.tngtech.jgiven.report.model.ReportStatistics
 

O

ObjectFormatter<T> - Interface in com.tngtech.jgiven.format
General interface to format Objects to Strings

P

Pending - Annotation Type in com.tngtech.jgiven.annotation
Marks methods of step definitions as not implemented yet.
pendingScenarios - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 
pero() - Method in class com.tngtech.jgiven.lang.es.Fase
 
placeHolders() - Method in interface com.tngtech.jgiven.report.AbstractReportModelHandler.ScenarioDataTable
The place holders of the data table
PLAIN_TEXT_UTF_8 - Static variable in class com.tngtech.jgiven.attachment.MediaType
text/plain
PlainRowFormatter - Class in com.tngtech.jgiven.format.table
Formats each row by just using the default formatting of an object.
PlainRowFormatter(Class<?>, Table, String, Annotation[], FormatterConfiguration, ObjectFormatter) - Constructor for class com.tngtech.jgiven.format.table.PlainRowFormatter
 
PlainRowFormatter.Factory - Class in com.tngtech.jgiven.format.table
Factory for creating instances of PlainRowFormatter
plainText(String) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates a text attachment with the given content with media type text/plain.
PlainTextReportConfig - Class in com.tngtech.jgiven.report.text
 
PlainTextReportConfig(String...) - Constructor for class com.tngtech.jgiven.report.text.PlainTextReportConfig
 
PlainTextReportConfig() - Constructor for class com.tngtech.jgiven.report.text.PlainTextReportConfig
 
PlainTextReporter - Class in com.tngtech.jgiven.report.text
Generates a plain text report to a PrintStream.
PlainTextReporter() - Constructor for class com.tngtech.jgiven.report.text.PlainTextReporter
 
PlainTextReporter(ConfigValue) - Constructor for class com.tngtech.jgiven.report.text.PlainTextReporter
 
PlainTextReporter(PrintWriter, ConfigValue) - Constructor for class com.tngtech.jgiven.report.text.PlainTextReporter
 
PlainTextReportGenerator - Class in com.tngtech.jgiven.report.text
 
PlainTextReportGenerator() - Constructor for class com.tngtech.jgiven.report.text.PlainTextReportGenerator
 
PlainTextScenarioWriter - Class in com.tngtech.jgiven.report.text
 
PlainTextScenarioWriter(PrintWriter, boolean) - Constructor for class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
PlainTextTableWriter - Class in com.tngtech.jgiven.report.text
 
PlainTextTableWriter(PrintWriter, boolean) - Constructor for class com.tngtech.jgiven.report.text.PlainTextTableWriter
 
PlainTextWriter - Class in com.tngtech.jgiven.report.text
 
PlainTextWriter(PrintWriter, boolean) - Constructor for class com.tngtech.jgiven.report.text.PlainTextWriter
 
PNG - Static variable in class com.tngtech.jgiven.attachment.MediaType
image/png
POJOAnnotationFormatter - Class in com.tngtech.jgiven.format
AnnotationArgumentFormatter that is used by the POJOFormat annotation
POJOAnnotationFormatter() - Constructor for class com.tngtech.jgiven.format.POJOAnnotationFormatter
 
POJOFormat - Annotation Type in com.tngtech.jgiven.annotation
A special format annotation to format POJOs
POJOFormat.BracketsEnum - Enum in com.tngtech.jgiven.annotation
postProcess(List<List<String>>) - Method in class com.tngtech.jgiven.format.table.FieldBasedRowFormatter
 
postProcess(List<List<String>>) - Method in class com.tngtech.jgiven.format.table.RowFormatter
Allows for post processing the resulting data table.
prependType(boolean) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
printCaseLine(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
printCaseLine(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
PrintfAnnotationFormatter - Class in com.tngtech.jgiven.format
AnnotationArgumentFormatter that is used by the Formatf annotation
PrintfAnnotationFormatter() - Constructor for class com.tngtech.jgiven.format.PrintfAnnotationFormatter
 
PrintfFormatter - Class in com.tngtech.jgiven.format
Formatter to use a Java format string to format arguments.
PrintfFormatter() - Constructor for class com.tngtech.jgiven.format.PrintfFormatter
 
printUsageAndExit() - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
printUsageAndExit(List<ConfigOption>) - Method in class com.tngtech.jgiven.report.config.ConfigOptionParser
Creates a help message based on the descriptions of the ConfigOption and terminates
ProvidedScenarioState - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be provided by a scenario stage.

Q

quando() - Method in class com.tngtech.jgiven.lang.pt.CenarioTesteBase
 
quando() - Method in class com.tngtech.jgiven.lang.pt.Etapa
 
quando() - Method in class com.tngtech.jgiven.lang.pt.SimplesCenarioTesteBase
 
Quoted - Annotation Type in com.tngtech.jgiven.annotation
Step parameters annotated with this annotation will be put into quotes (" ") in reports.

R

readDirectory() - Method in class com.tngtech.jgiven.report.json.ReportModelReader
 
reportDescription(String) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked for the description of this report model.
ReportGenerator - Class in com.tngtech.jgiven.report
This is an interface to create a report based on command line flags
ReportGenerator() - Constructor for class com.tngtech.jgiven.report.ReportGenerator
 
ReportGenerator.Format - Enum in com.tngtech.jgiven.report
to create a custom report, extend this enum with the name of your choice
ReportModel - Class in com.tngtech.jgiven.report.model
 
ReportModel() - Constructor for class com.tngtech.jgiven.report.model.ReportModel
 
ReportModelFile - Class in com.tngtech.jgiven.report.model
 
ReportModelFile() - Constructor for class com.tngtech.jgiven.report.model.ReportModelFile
 
ReportModelFileHandler - Interface in com.tngtech.jgiven.report.json
Handles a single ReportModel that has been read from a single JSON file.
ReportModelFileReader - Class in com.tngtech.jgiven.report.json
 
ReportModelFileReader() - Constructor for class com.tngtech.jgiven.report.json.ReportModelFileReader
 
ReportModelHandler - Interface in com.tngtech.jgiven.report
 
ReportModelReader - Class in com.tngtech.jgiven.report.json
 
ReportModelReader(AbstractReportConfig) - Constructor for class com.tngtech.jgiven.report.json.ReportModelReader
 
ReportModelVisitor - Class in com.tngtech.jgiven.report.model
 
ReportModelVisitor() - Constructor for class com.tngtech.jgiven.report.model.ReportModelVisitor
 
ReportStatistics - Class in com.tngtech.jgiven.report.model
 
ReportStatistics() - Constructor for class com.tngtech.jgiven.report.model.ReportStatistics
 
RowFormatter - Class in com.tngtech.jgiven.format.table
Formats the rows of a data table.
RowFormatter() - Constructor for class com.tngtech.jgiven.format.table.RowFormatter
 
RowFormatterFactory - Interface in com.tngtech.jgiven.format.table
Factory for creating ObjectRowFormatter instances
rows() - Method in interface com.tngtech.jgiven.report.AbstractReportModelHandler.ScenarioDataTable
The rows of the table, not including the header

S

ScenarioCaseModel - Class in com.tngtech.jgiven.report.model
 
ScenarioCaseModel() - Constructor for class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
scenarioEnd() - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked when the scenario is finished
ScenarioJsonReader - Class in com.tngtech.jgiven.report.json
 
ScenarioJsonReader() - Constructor for class com.tngtech.jgiven.report.json.ScenarioJsonReader
 
ScenarioJsonReader.JsonReaderException - Exception in com.tngtech.jgiven.report.json
 
ScenarioJsonWriter - Class in com.tngtech.jgiven.report.json
 
ScenarioJsonWriter(ReportModel) - Constructor for class com.tngtech.jgiven.report.json.ScenarioJsonWriter
 
ScenarioModel - Class in com.tngtech.jgiven.report.model
 
ScenarioModel() - Constructor for class com.tngtech.jgiven.report.model.ScenarioModel
 
ScenarioRule - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be Scenario rules.
ScenarioStage - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be stage instances This is useful to reuse stages within stages.
ScenarioState - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be read and/or written by a scenario stage.
ScenarioState.Resolution - Enum in com.tngtech.jgiven.annotation
 
ScenarioTestBase<GIVEN,WHEN,THEN> - Class in com.tngtech.jgiven.base
Base class for Scenario tests.
ScenarioTestBase() - Constructor for class com.tngtech.jgiven.base.ScenarioTestBase
 
scenarioTitle(String) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Is invoked for the title of the scenario.
section(String) - Method in class com.tngtech.jgiven.base.ScenarioTestBase
Adds a new section to the scenario
self() - Method in class com.tngtech.jgiven.base.StageBase
 
setArgumentDelimiter(String) - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
setArgumentDelimiter(String) - Method in class com.tngtech.jgiven.report.config.CommandLineOptionBuilder
 
setArgumentName(String) - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
setCaseNr(int) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setCasesAsTable(boolean) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setClassName(String) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
setClassName(String) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setColor(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setCommandLineOption(CommandLineOption) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setCommandLineOptionWithArgument(CommandLineOption, StringConverter) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
if you want to parse an argument, you need a converter from String to Object
setCommandLineOptionWithoutArgument(CommandLineOption, Object) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
if you don't have an argument, choose the value that is going to be inserted into the map instead
setComment(String) - Method in interface com.tngtech.jgiven.CurrentStep
Sets the comment of the step.
setComment(String) - Method in class com.tngtech.jgiven.report.model.StepModel
 
setConfig(AbstractReportConfig) - Method in class com.tngtech.jgiven.report.AbstractReportGenerator
 
setConverter(StringConverter) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setCssClass(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setData(List<List<String>>) - Method in class com.tngtech.jgiven.report.model.DataTable
 
setDataTable(DataTable) - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
setDefaultWith(Object) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
if you have a default, it's automatically optional
setDerivedArguments(List<String>) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setDerivedParameters(Collection<String>) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setDescription(String) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setDescription(String) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
 
setDescription(String) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
setDescription(String) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setDescription(String) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setDescription(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setDurationInNanos(long) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setDurationInNanos(long) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setDurationInNanos(long) - Method in class com.tngtech.jgiven.report.model.StepModel
 
setEnvironmentString(String, StringConverter) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
 
setEnvString(String) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setErrorMessage(String) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setExcludeEmptyScenarios(Boolean) - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
setExplicitArguments(List<String>) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setExplicitParameters(List<String>) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setExtendedDescription(String) - Method in interface com.tngtech.jgiven.CurrentStep
Sets the extended description of the current step
setExtendedDescription(String) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setExtendedDescription(String) - Method in class com.tngtech.jgiven.report.model.StepModel
 
setFileName(String) - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
setFormattedValue(String) - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
setFormatter(Class<T>, Formatter<T>) - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguration
Sets the formatter for the given type.
setHasArgument(boolean) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setHasDefault(boolean) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setHeaderType(Table.HeaderType) - Method in class com.tngtech.jgiven.report.model.DataTable
 
setHref(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setIntroWord(boolean) - Method in class com.tngtech.jgiven.report.model.Word
 
setIsBinary(boolean) - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
setIsDifferent(boolean) - Method in class com.tngtech.jgiven.report.model.Word
 
setIsSectionTitle(boolean) - Method in class com.tngtech.jgiven.report.model.StepModel
 
setLongName(String) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setLongPrefix(String) - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
setMediaType(String) - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
setName(String) - Method in interface com.tngtech.jgiven.CurrentStep
Sets the name of the current step.
setName(String) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
setName(String) - Method in class com.tngtech.jgiven.report.model.StepModel
 
setName(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setNestedSteps(List<StepModel>) - Method in class com.tngtech.jgiven.report.model.StepModel
 
setOptional(boolean) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setOptional() - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
if the option is optional, you don't have to use it
setParameterName(String) - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
setPlaceholder(String) - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
setPrependType(boolean) - Method in class com.tngtech.jgiven.report.model.Tag
 
setPropertyString(String) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setPropertyString(String, StringConverter) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
 
setScenarios(List<ScenarioModel>) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
setShortName(String) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setShortName(String) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
 
setShortPrefix(String) - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
setShortPrefix(String) - Method in class com.tngtech.jgiven.report.config.CommandLineOptionBuilder
 
setShowDirectly(boolean) - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
setShowInNavigation(boolean) - Method in class com.tngtech.jgiven.report.model.Tag
 
setSourceDir(File) - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
setStackTrace(List<String>) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setStatus(ExecutionStatus) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setStatus(StepStatus) - Method in class com.tngtech.jgiven.report.model.StepModel
 
setSteps(List<StepModel>) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
setStringConverter(StringConverter) - Method in class com.tngtech.jgiven.report.config.ConfigOptionBuilder
if you want to convert some string to an object, you have an argument to parse
setStyle(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setTagIds(Set<String>) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setTagMap(Map<String, Tag>) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
setTags(List<String>) - Method in class com.tngtech.jgiven.report.model.Tag
 
setTargetDir(File) - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
setTestClass(Class<?>) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
setTestClassSuffixRegEx(String) - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguration
Set a regular expression for a test class suffix that should be removed by JGiven in the report.
setTestMethodName(String) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setTitle(String) - Method in class com.tngtech.jgiven.report.AbstractReportConfig
 
setTitle(String) - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
setType(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setValue(Object) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
setValue(String) - Method in class com.tngtech.jgiven.report.model.AttachmentModel
 
setValue(List<String>) - Method in class com.tngtech.jgiven.report.model.Tag
 
setValue(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setValue(String) - Method in class com.tngtech.jgiven.report.model.Word
 
setVisualPlaceholder(String) - Method in class com.tngtech.jgiven.report.config.CommandLineOptionBuilder
 
setWords(List<Word>) - Method in class com.tngtech.jgiven.report.model.StepModel
 
showDirectly() - Method in class com.tngtech.jgiven.attachment.Attachment
Directly shows this attachment in the report.
showFlagInfo() - Method in class com.tngtech.jgiven.report.config.CommandLineOption
 
showInNavigation(boolean) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
showInNavigation() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
SimpleEscenarioTestBase<FASE> - Class in com.tngtech.jgiven.lang.es
 
SimpleEscenarioTestBase() - Constructor for class com.tngtech.jgiven.lang.es.SimpleEscenarioTestBase
 
SimpleScenarioTestBase<STEPS> - Class in com.tngtech.jgiven.base
ScenarioTest that only takes a single type parameter that is used for all three step definition types.
SimpleScenarioTestBase() - Constructor for class com.tngtech.jgiven.base.SimpleScenarioTestBase
 
SimplesCenarioTesteBase<ETAPA> - Class in com.tngtech.jgiven.lang.pt
 
SimplesCenarioTesteBase() - Constructor for class com.tngtech.jgiven.lang.pt.SimplesCenarioTesteBase
 
SingleQuoted - Annotation Type in com.tngtech.jgiven.annotation
Step parameters annotated with this annotation will be put into quotes (' ') in reports.
Stage<SELF extends Stage<?>> - Class in com.tngtech.jgiven
Base class for Stages.
Stage() - Constructor for class com.tngtech.jgiven.Stage
 
StageBase<SELF extends StageBase<?>> - Class in com.tngtech.jgiven.base
Useful base class for step definitions as it provides a StageBase.self() method to create fluent interfaces.
StageBase() - Constructor for class com.tngtech.jgiven.base.StageBase
 
StatisticsCalculator - Class in com.tngtech.jgiven.report.model
 
StatisticsCalculator() - Constructor for class com.tngtech.jgiven.report.model.StatisticsCalculator
 
statisticsMap - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 
status() - Method in interface com.tngtech.jgiven.report.AbstractReportModelHandler.ScenarioDataTable.Row
The execution status of the case
stepArgument(String, boolean) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked for step arguments that are not arguments of a case
stepArgumentPlaceHolder(String) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked for step argument place holders.
stepCaseArgument(String) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked for step arguments that are also arguments of a case.
StepComment - Annotation Type in com.tngtech.jgiven.annotation
Marks a method to be used to provide an additional comment to the previous step.
stepDataTableArgument(DataTable) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked for step arguments that are data tables
stepEnd() - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked when a step is finished
StepFormatter - Class in com.tngtech.jgiven.report.model
 
StepFormatter(String, List<NamedArgument>, List<ObjectFormatter<?>>) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter
 
StepFormatter.AnnotationBasedFormatter - Class in com.tngtech.jgiven.report.model
 
StepFormatter.ArgumentFormatting<F extends ArgumentFormatter<T>,T> - Class in com.tngtech.jgiven.report.model
 
StepFormatter.ChainedFormatting<T> - Class in com.tngtech.jgiven.report.model
 
StepFormatter.Formatting<F,T> - Class in com.tngtech.jgiven.report.model
 
StepFormatter.TableFormatting<F extends TableFormatter> - Class in com.tngtech.jgiven.report.model
 
StepFormatter.TypeBasedFormatting<T> - Class in com.tngtech.jgiven.report.model
 
StepFunction<STAGE> - Interface in com.tngtech.jgiven
A functional interface for defining ad-hoc steps.
StepModel - Class in com.tngtech.jgiven.report.model
 
StepModel() - Constructor for class com.tngtech.jgiven.report.model.StepModel
 
StepModel(String, List<Word>) - Constructor for class com.tngtech.jgiven.report.model.StepModel
 
stepStart() - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked when a step starts
StepStatus - Enum in com.tngtech.jgiven.report.model
 
stepWord(String, boolean) - Method in interface com.tngtech.jgiven.report.ReportModelHandler
Invoked for plain words of a step
StringConverter - Interface in com.tngtech.jgiven.report.config.converter
Interface to create converter function to specify the to map the incoming command line argument to the object See AbstractReportGenerator#populateConfigOptions() for example definitions of ConfigOption If the conversion is not possible, return null.
Stufe<SELF extends Stufe<?>> - Class in com.tngtech.jgiven.lang.de
Eine deutsche Version der Stage-Klasse.
Stufe() - Constructor for class com.tngtech.jgiven.lang.de.Stufe
 
style(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
SUFFIX - Static variable in exception com.tngtech.jgiven.exception.JGivenInstallationException
 
SVG_UTF_8 - Static variable in class com.tngtech.jgiven.attachment.MediaType
image/svg+xml
SzenarioTestBasis<GEGEBEN,WENN,DANN> - Class in com.tngtech.jgiven.lang.de
 
SzenarioTestBasis() - Constructor for class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 

T

Table - Annotation Type in com.tngtech.jgiven.annotation
Marks the parameter of a step method as a data table.
table(int, Object...) - Static method in class com.tngtech.jgiven.DataTables
Creates a table, i.e.
Table.HeaderType - Enum in com.tngtech.jgiven.annotation
 
Table.ObjectFormatting - Enum in com.tngtech.jgiven.annotation
Possible choices for the Table.objectFormatting() attribute.
TableFormatter - Interface in com.tngtech.jgiven.format.table
Formatter that will format arguments as a table.
TableFormatterFactory - Interface in com.tngtech.jgiven.format.table
Factory to create a custom TableFormatter
TableFormatting(F, Table, String, Annotation...) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter.TableFormatting
 
Tag - Class in com.tngtech.jgiven.report.model
A tag represents a Java annotation of a scenario-test.
Tag(String) - Constructor for class com.tngtech.jgiven.report.model.Tag
 
Tag(String, Object) - Constructor for class com.tngtech.jgiven.report.model.Tag
 
Tag(String, String, Object) - Constructor for class com.tngtech.jgiven.report.model.Tag
 
TagConfiguration - Class in com.tngtech.jgiven.config
Represents the configuration of a tag.
TagConfiguration(Class<? extends Annotation>) - Constructor for class com.tngtech.jgiven.config.TagConfiguration
 
TagConfiguration.Builder - Class in com.tngtech.jgiven.config
 
TagDescriptionGenerator - Interface in com.tngtech.jgiven.annotation
Is used as an attribute of the IsTag annotation to dynamically generate a description for an annotation depending on its value.
TagHrefGenerator - Interface in com.tngtech.jgiven.annotation
Is used as an attribute of the IsTag annotation to dynamically generate an href for an annotation depending on its value.
tagIdMap - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 
tagMap - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 
tags(List<String>) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
text(String, Charset) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a non-binary text media type with the given subtype and a specified encoding
textUtf8(String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a non-binary text media type with the given subtype.
then() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
then() - Method in class com.tngtech.jgiven.Stage
 
ToBoolean - Class in com.tngtech.jgiven.report.config.converter
Total conversion function
ToBoolean() - Constructor for class com.tngtech.jgiven.report.config.converter.ToBoolean
 
toEscapedString() - Method in class com.tngtech.jgiven.report.model.Tag
Returns a string representation where all non-alphanumeric characters are replaced with an underline (_).
ToFile - Class in com.tngtech.jgiven.report.config.converter
Total conversion function
ToFile() - Constructor for class com.tngtech.jgiven.report.config.converter.ToFile
 
ToFormat - Class in com.tngtech.jgiven.report.config.converter
Not total, if the format parse fails it returns null
ToFormat() - Constructor for class com.tngtech.jgiven.report.config.converter.ToFormat
 
toIdString() - Method in class com.tngtech.jgiven.report.model.Tag
 
toObject(String) - Method in class com.tngtech.jgiven.report.config.ConfigOption
 
toStepStatus() - Method in enum com.tngtech.jgiven.report.model.InvocationMode
 
toString() - Method in class com.tngtech.jgiven.attachment.MediaType
 
toString() - Method in enum com.tngtech.jgiven.attachment.MediaType.Type
 
ToString - Class in com.tngtech.jgiven.report.config.converter
Total conversion function
ToString() - Constructor for class com.tngtech.jgiven.report.config.converter.ToString
 
toString() - Method in class com.tngtech.jgiven.report.json.ScenarioJsonWriter
 
toString() - Method in class com.tngtech.jgiven.report.model.NamedArgument
 
toString() - Method in class com.tngtech.jgiven.report.model.Tag
 
toString() - Method in class com.tngtech.jgiven.report.model.Word
 
toString(ScenarioModel) - Static method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
toString(ReportModel) - Static method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
totalStatistics - Variable in class com.tngtech.jgiven.report.model.CompleteReportModel
 
traverseModels(File, ReportModelFileHandler) - Method in class com.tngtech.jgiven.report.json.JsonModelTraverser
Reads all JSON files from sourceDirectory and invokes for each found file the ReportModelFileHandler.handleReportModel(com.tngtech.jgiven.report.model.ReportModelFile) method of the given handler.
TypeBasedFormatting(Formatter<T>, Annotation[]) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter.TypeBasedFormatting
 

U

und() - Method in class com.tngtech.jgiven.lang.de.Stufe
 
useConfigMap(Map<String, Object>) - Method in class com.tngtech.jgiven.report.AbstractReportConfig
Every flag should be defined except the optional ones without a default (like --help)
useConfigMap(Map<String, Object>) - Method in class com.tngtech.jgiven.report.asciidoc.AsciiDocReportConfig
 
useConfigMap(Map<String, Object>) - Method in class com.tngtech.jgiven.report.text.PlainTextReportConfig
 

V

value - Variable in class com.tngtech.jgiven.report.model.NamedArgument
 
valueOf(String) - Static method in enum com.tngtech.jgiven.annotation.POJOFormat.BracketsEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.annotation.ScenarioState.Resolution
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.annotation.Table.HeaderType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.annotation.Table.ObjectFormatting
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.attachment.MediaType.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.config.ConfigValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.report.model.ExecutionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.report.model.InvocationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.report.model.StepStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.report.ReportGenerator.Format
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.tngtech.jgiven.annotation.POJOFormat.BracketsEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.annotation.ScenarioState.Resolution
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.annotation.Table.HeaderType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.annotation.Table.ObjectFormatting
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.attachment.MediaType.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.config.ConfigValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.report.model.ExecutionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.report.model.InvocationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.report.model.StepStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.report.ReportGenerator.Format
Returns an array containing the constants of this enum type, in the order they are declared.
video(String) - Static method in class com.tngtech.jgiven.attachment.MediaType
Creates a binary video media type with the given subtype.
visit(ReportModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
visit(ReportModel) - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
visit(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
visitEnd(ReportModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visitEnd(ScenarioModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
visitEnd(ScenarioModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 

W

wenn() - Method in class com.tngtech.jgiven.lang.de.EinfacheSzenarioTestBasis
 
wenn() - Method in class com.tngtech.jgiven.lang.de.Stufe
 
wenn() - Method in class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 
when() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
when() - Method in class com.tngtech.jgiven.Stage
 
wire(Object) - Method in interface com.tngtech.jgiven.integration.CanWire
 
wireSteps(CanWire) - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
with() - Method in class com.tngtech.jgiven.Stage
 
withColor - Variable in class com.tngtech.jgiven.report.text.PlainTextWriter
 
withFileName(String) - Method in class com.tngtech.jgiven.attachment.Attachment
An optional filename for the attachment without the file type suffix.
withTitle(String) - Method in class com.tngtech.jgiven.attachment.Attachment
Sets the title and returns this
Word - Class in com.tngtech.jgiven.report.model
Represents a part of a step.
Word() - Constructor for class com.tngtech.jgiven.report.model.Word
 
Word(String) - Constructor for class com.tngtech.jgiven.report.model.Word
 
Word(String, boolean) - Constructor for class com.tngtech.jgiven.report.model.Word
 
wordToString(Word) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
wordToString(Word) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
write(File) - Method in class com.tngtech.jgiven.report.json.ScenarioJsonWriter
 
write(ReportModel) - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
writeDataTable(DataTable, String) - Method in class com.tngtech.jgiven.report.text.PlainTextTableWriter
 
writer - Variable in class com.tngtech.jgiven.report.text.PlainTextWriter
 

X

xml(String) - Static method in class com.tngtech.jgiven.attachment.Attachment
Creates a text attachment with the given content with media type text/xml.
XML_UTF_8 - Static variable in class com.tngtech.jgiven.attachment.MediaType
text/xml

Y

y() - Method in class com.tngtech.jgiven.lang.es.Fase
 
$ A B C D E F G H I J K L M N O P Q R S T U V W X Y 
Skip navigation links