You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,6 +256,10 @@ parameterizedTest('Example of CSV data',
256
256
});
257
257
```
258
258
259
+
### Testing with `Future.error` values
260
+
When using `Future.error` directly in your parameterized test values, this might leads to not executing tests at all. In order to handle this correctly your can provide the `Future` as a callback function.
261
+
But also need to make sure that the when the future is awaited its also catch. `Future.error` will throw the provided object. See [23](https://github.com/DutchCodingCompany/parameterized_test/issues/23) for more information.
262
+
259
263
## Additional information 💡
260
264
261
265
It's just a simple wrapper to easily execute tests multiple times with different values. Feel free to
0 commit comments