geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jinmei Liao <jil...@pivotal.io>
Subject Re: Assertions in Geode
Date Thu, 19 Jul 2018 01:57:24 GMT
dont know what other people do, but I do not use assertions in production
code. in test code, I like to use assertJ whenever possible since it
provide more convenience methods and more descriptive failure messages than
junit assert.

On Wed, Jul 18, 2018, 6:52 PM Galen O'Sullivan <gosullivan@pivotal.io>
wrote:

> Hi all,
>
> I'm wondering what the collective's opinion of assertions is. I notice
> there's an org.apache.geode.internal.Assert class, which is used some
> places, and that plain old Java assertions are used in other places. Can we
> remove one of these and use the other? Should we be including assertions in
> new or refactored code?
>
> Thanks,
> Galen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message