Skip to content

ReleaseNotes13

Johan Haleby edited this page Jul 19, 2015 · 1 revision

Release notes 1.3

Backward incompatible changes

Awaitility.callTo has been renamed to Awaitility.to which should be used together with the new untilCall method. I.e. instead of writing:

await().until( callTo(myObject).myMethod(), equalTo(2) ); // Syntax up until Awaitility 1.2.1

you write

await().untilCall( to(myObject).myMethod(), equalTo(2) ); // Syntax Awaitility 

Other notable changes

  • Awaitility now supports field suppliers using the new fieldIn construct, e.g.:
await().until(fieldIn(myObject).ofType(int.class), equalTo(
  • Awaitility now has Scala support:
await until { myObject.myMethod == 2 }

Minor changes

Refer to the change log.

Clone this wiki locally