in kotlin test they seem to be there for readability
m
Matteo Mirk
01/10/2020, 4:12 PM
I can see your confusion here: in cucumber the gherkin specifications point to step definition in Java code, while here they are the code. Kotlin lambda notation makes for a nice domain-specific language to better structure tests.