vertx / io.vertx.junit5 / VertxTestContext / strictCheckpoint

strictCheckpoint

fun strictCheckpoint(): Checkpoint

Create a strict checkpoint.

Return
a checkpoint that requires 1 pass, and makes the context fail if it is called more than once.

fun strictCheckpoint(requiredNumberOfPasses: Int): Checkpoint

Create a strict checkpoint.

Parameters

requiredNumberOfPasses - the required number of passes to validate the checkpoint.

Return
a checkpoint that requires several passes, but no more or it fails the context.