Talk type: Talk

Assert, how much is in that word...

  • Talk in Russian
Presentation https

Many people have heard of Arrange-Act-Assert. And they have heard of single assert. In these approaches, the "L" stands for the ease of supporting tests, and the "P" stands for the clarity of their output. A test can crash for various reasons (a different environment on CI, more tests running, more workload, etc.), but the question "why did it crash" remains. In the report we will consider how modern tools (JUnit 4/5, Spok, Power Assert, Truth) allow to write tests so that their crash is easier to analyze and tests are easier to maintain.

  • #assertion libraries
  • #assert messages
  • #java
  • #testing

Invited experts

Schedule