One assert per test?

Should we have a single assert per test? Are custom asserts useful? What about diagnostic messages? And how to structure our tests? Maybe we should have tests mixed with production code?

Alex answers all these questions, prompted by a conversation on Twitter started by Mattias Verraes

More from the Blog

Leave a Comment

Your email address will not be published. Required fields are marked *

    Your Cart
    Your cart is empty
      Apply Coupon
      Available Coupons
      individualcspo102022 Get 87.00 off
      Unavailable Coupons
      aniscppeurope2022 Get 20.00 off
      Scroll to Top