Start of main content

Assert, how much is in that word...

Room 1
Language -RU

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.

  • #testing
  • #assertion_libraries
  • #assert_messages
  • #java


Invited experts