it
Inline property referring actually to this
and allows writing infix assertions within an expectation-group
For instance, instead of:
expect("hello world") {
this toStartWith "hello"
this toEndWith "world"
}
Content copied to clipboard
You can write
expect("hello world") {
it toStartWith "hello"
it toEndWith "world"
}
Content copied to clipboard
Return
this
Since
0.12.0