kotest icon indicating copy to clipboard operation
kotest copied to clipboard

Hi, it is question about AND in THEN scope.

Open jumpstreet13 opened this issue 3 years ago • 0 comments
trafficstars

Please describe here what you would like to see documented. Here is the issue about that - https://github.com/kotest/kotest/issues/594

But I tried it on my project and it worked like a charm. Maybe you can upgrade documentation about AND in THEN scope ? Or there are still problems with that approach ? image

jumpstreet13 avatar Aug 09 '22 06:08 jumpstreet13

You shouldn't nest And inside Then because Then is a final state scope. This will probably break in a future release.

sksamuel avatar Aug 25 '22 03:08 sksamuel

This is already not working since sam fixed runtime-retention of DSL annotation in 5.4.0

image

Kantis avatar Aug 25 '22 20:08 Kantis