|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Execution
Represents a current execution of a method in a test
| Method Summary | |
|---|---|
Attributes |
attributes()
Handle attributes of this Execution Context, which can be shared amongst plugins |
TestContext |
context()
|
boolean |
hasFailed()
|
Method |
method()
Get the test method that is going to be executed or has been executed |
void |
setThrowable(Throwable throwable)
Mark a test execution metod of having failed by providing its exception thrown |
Step |
step()
|
Throwable |
throwable()
|
| Method Detail |
|---|
Step step()
Method method()
TestContext context()
Throwable throwable()
boolean hasFailed()
void setThrowable(Throwable throwable)
throwable - The exception thrown by teh methodAttributes attributes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||