| Package | Description |
|---|---|
| com.tngtech.jgiven.format | |
| com.tngtech.jgiven.report.model |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanFormatter
General formatter to format boolean values
|
class |
DefaultFormatter<T>
A default formatter that merely use
String.valueOf(Object),
except for arrays where Arrays.deepToString(Object[]) is used. |
class |
NotFormatter
Translates
false to the word "not" and true to the empty word ""
true: ""
false: "not"
Example:
then().the_coffee_should_$$not_be_served( coffeeServed )
Result:
coffeeServed == false
then the coffee should not be served
coffeeServed == true
then the coffee should be served
|
class |
PrintfFormatter
Formatter to use a Java format string to format arguments
|
| Constructor and Description |
|---|
StepFormatter.Formatting(ArgumentFormatter<T> formatter,
String... args) |
Copyright © 2014 TNG Technology Consulting. All rights reserved.