Package | Description |
---|---|
ch.powerunit |
Main functionnalities of powerunit.
|
ch.powerunit.rules |
Default implementation or abstract for rule.
|
Modifier and Type | Method and Description |
---|---|
default TestListenerRule |
TestSuite.testListenerRuleOf(Consumer<TestContext<Object>> onStart,
Consumer<TestContext<Object>> onEnd,
BiConsumer<TestContext<Object>,AssertionError> onFailure,
BiConsumer<TestContext<Object>,Throwable> onError,
BiConsumer<TestContext<Object>,AssumptionError> onAssumptionSkip)
Build a
TestListenerRule based on the various method. |
Modifier and Type | Method and Description |
---|---|
default void |
TestListenerRule.onAssumptionSkip(TestContext<Object> context,
AssumptionError error)
Method used when an assumption error happened.
|
Modifier and Type | Method and Description |
---|---|
static TestListenerRule |
TestListenerRule.of(Consumer<TestContext<Object>> onStart,
Consumer<TestContext<Object>> onEnd,
BiConsumer<TestContext<Object>,AssertionError> onFailure,
BiConsumer<TestContext<Object>,Throwable> onError,
BiConsumer<TestContext<Object>,AssumptionError> onAssumptionSkip)
Build a
TestListenerRule based on the various method. |
Copyright © 2015 Powerunit. All rights reserved.