diff --git a/docs/data_driven_testing.adoc b/docs/data_driven_testing.adoc index 13f2d2816a..57c2710a4b 100644 --- a/docs/data_driven_testing.adoc +++ b/docs/data_driven_testing.adoc @@ -447,7 +447,7 @@ exactly one iteration. If you want to filter out some iterations, you can use the `@IgnoreIf` annotation on the feature method. This has one significant drawback though, the iteration would be reported as skipped in test reports. Therefor you can have a `filter` block after the `where` block. -The content of this block is treated like the content of the `exepct` block. +The content of this block is treated like the content of the `expect` block. If any of the implicit or explicit assertions in the `filter` block fails, the iteration is treated like it would not exist. This also means, that if all iterations are filtered out, the test will fail like when giving a data provider without content.