WithStopWithTestError allows output to receive the error value that the test finished with. It could be nil, if the test finished normally. If this interface is implemented by the output, StopWithError() will be called instead of Stop(). TODO: refactor the main interface to use this method instead
| 98 | // TODO: refactor the main interface to use this method instead of Stop()? Or |
| 99 | // something else along the lines of https://github.com/grafana/k6/issues/2430 ? |
| 100 | type WithStopWithTestError interface { |
| 101 | Output |
| 102 | StopWithTestError(testRunErr error) error // nil testRunErr means error-free test run |
| 103 | } |
| 104 | |
| 105 | // WithBuiltinMetrics means the output can receive the builtin metrics. |
| 106 | type WithBuiltinMetrics interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…