Showdown of the Asserts

Showdown of theĀ Asserts

This talk is based on heated discussions about the syntax of asserts. Do you like the good old assertNotEquals(id, c.getId()) or do you prefer something fancier like assertThat(c.getId(), is(not(equalTo(id))))?
We will take a quick look at the differences between asserts in JUnit, TestNG, Hamcrest, AssertJ, Truth, and Spock. This topic is at least as important as Vim vs Emacs and tabs vs spaces!


Philipp Krenn

October 01, 2015