Package com.tngtech.jgiven.annotation
Annotation Interface FillerWord
Marks a method which will be used as a preamble to the next non-filler stage method.
In reports, filler words inherit the alignment of the stage method that follows.
Examples of filler words that may be used are the, some, for_a.
domain specific filler words can be created for specific use cases.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
In reports, filler words marked with joinToNextWord will be prefixed to the next word in the sentence without whitespace.boolean
In reports, filler words marked with joinToPreviousWord will be suffixed to the previous word in the sentence without whitespace.
-
Element Details
-
joinToPreviousWord
boolean joinToPreviousWordIn reports, filler words marked with joinToPreviousWord will be suffixed to the previous word in the sentence without whitespace.- Default:
- false
-
joinToNextWord
boolean joinToNextWordIn reports, filler words marked with joinToNextWord will be prefixed to the next word in the sentence without whitespace.- Default:
- false
-