事件:'test:fail'


【Event: 'test:fail'

当测试失败时触发。 此事件保证按测试定义的顺序触发。 对应的按执行顺序的事件是 'test:complete'

【Emitted when a test fails. This event is guaranteed to be emitted in the same order as the tests are defined. The corresponding execution ordered event is 'test:complete'.】