我的装置看起来像这样:
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
Dim Total = ProductSize * NumericUpDown1.Value
MessageBox.Show(Total.ToString("C"))
End Sub
fixture`Admitted: Happy Path`
.page(environment.admitted)
.requestHooks(logger)
.afterEach(logErrors);
记录该测试的所有API错误,但是我只想在测试失败的情况下记录它们。有没有办法判断刚完成的测试在logErrors
中是否成功?