| Package | Description |
|---|---|
| com.github.karamelsoft.testing.data.driven.testing.api | |
| com.github.karamelsoft.testing.data.driven.testing.api.operations |
| Modifier and Type | Method and Description |
|---|---|
Tester<T> |
Tester.apply(Consumer<T> consumer)
Execute a given @{Consumer} for the current value.
|
Tester<T> |
Tester.compare(String fileName,
Comparison strategy)
Compare resource file to actual file for a given file name with a given
Comparison. |
default Tester<T> |
Tester.execute(Runnable runnable)
Execute a given runnable.
|
<U> Tester<U> |
Tester.load(String fileName,
Load<U> strategy)
Load a file with a given @{Load} and assign the result to the
test value.
|
<U> Tester<U> |
Tester.map(Function<T,U> function)
Map the current value with with given @{Function} or set the given default value.
|
Tester<T> |
Tester.save(String fileName,
Save<T> strategy)
Save the current value to file with a given @{Save}
|
Tester<T> |
Tester.scenario(Scenario<T> scenario)
Execute a given scenario for each input file.
|
Tester<T> |
Tester.script(Consumer<Tester<T>> script)
Execute a given consumer on the current Tester.
|
<U> Tester<U> |
Tester.script(Script<T,U> script)
Execute a given script on the current Tester.
|
<U> Tester<U> |
Tester.value(U value)
Set the value that will be used as the input value for other actions.
|
| Modifier and Type | Method and Description |
|---|---|
Tester<T> |
Tester.script(Consumer<Tester<T>> script)
Execute a given consumer on the current Tester.
|
| Modifier and Type | Method and Description |
|---|---|
Tester<U> |
Script.execute(Tester<T> tester)
Method used to define script operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Scenario.execute(String fileName,
Tester<T> tester)
Executes the scenario.
|
Tester<U> |
Script.execute(Tester<T> tester)
Method used to define script operations.
|
Copyright © 2016. All rights reserved.