TB2::SubtestEnd - End of a subtest event
This is a TB2::Event representing the end of a subtest.
Receiving this event indicates to the parent that the subtest has ended. All events from here out belong to the current test level. Most event handlers will not have to be concerned about this.
Information about the subtest will be communicated back to the parent handler via
It has all the methods and attributes of TB2::Event with the following differences and additions.
The TB2::History object from the subtest.
This can be used by event handlers to get information from the subtest.
Normally this will be filled in by TB2::TestState during posting. A builder may put in an alternative history object.
The matching TB2::Event::SubtestStart.
Normally this will be filled in by TB2::TestState during posting.
A Result summarizing the outcome of the subtest.
This will be created from the history by default.
The event type is
TB2::Event This does the Event role.
TB2::SubtestStart The cooresponding event which starts the subtest.