public final class TestStepStarted extends TestCaseEvent
A step can either be a PickleStepTestStep
or a
HookTestStep
depending on what step was executed.
Each test step started event is followed by an matching
TestStepFinished
event for the same step.The order in
which these events may be expected is:
[before hook,]* [[before step hook,]* test step, [after step hook,]*]+, [after hook,]*
PickleStepTestStep
,
HookTestStep
Modifier and Type | Field and Description |
---|---|
TestStep |
testStep |
CANONICAL_ORDER
Constructor and Description |
---|
TestStepStarted(Long timeStamp,
long timeStampMillis,
TestCase testCase,
TestStep testStep) |
TestStepStarted(Long timeStamp,
TestCase testCase,
TestStep testStep)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Long |
getTimeStamp()
Returns timestamp in nano seconds since an arbitrary start time.
|
long |
getTimeStampMillis()
Returns timestamp in milliseconds of the epoch.
|
getTestCase
public final TestStep testStep
@Deprecated public TestStepStarted(Long timeStamp, TestCase testCase, TestStep testStep)
public Long getTimeStamp()
getTimeStamp
in interface Event
System.nanoTime()
public long getTimeStampMillis()
System.currentTimeMillis()
Copyright © 2019. All rights reserved.