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