类:TestsStream
¥Class: TestsStream
-
延长 <Readable>
¥Extends <Readable>
成功调用 run()
方法将返回一个新的 <TestsStream> 对象,流式传输代表测试执行的一系列事件。TestsStream
将按照测试定义的顺序触发事件
¥A successful call to run()
method will return a new <TestsStream>
object, streaming a series of events representing the execution of the tests.
TestsStream
will emit events, in the order of the tests definition
某些事件保证按照测试定义的顺序触发,而其他事件则按照测试执行的顺序触发。
¥Some of the events are guaranteed to be emitted in the same order as the tests are defined, while others are emitted in the order that the tests execute.