-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include more comparison between Truth and AssertJ in the FAQ #306
Comments
Fixes(?) #306 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167187935
Sorry that this has taken so long. I'd be interested in your thoughts on http://google.github.io/truth/comparison |
Looks good and interesting. Maybe add an example of a Subject under the
Conditions section for people less familiar with that topic.
…On Aug 31, 2017 4:09 PM, "Chris Povirk" ***@***.***> wrote:
Sorry that this has taken so long. I'd be interested in your thoughts on
http://google.github.io/truth/comparison
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#306 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AKa9gomZAxxj4PoNIhXJMmWTtEmXvg_wks5sdyEGgaJpZM4NDc5E>
.
|
Also my favorite part dimension of Truth when I first saw it was its
simplicity compared to AssertJ. Even the docs seem simpler to understand
imho.
On Aug 31, 2017 5:19 PM, "Maxwell Pietsch" <[email protected]>
wrote:
… Looks good and interesting. Maybe add an example of a Subject under the
Conditions section for people less familiar with that topic.
On Aug 31, 2017 4:09 PM, "Chris Povirk" ***@***.***> wrote:
> Sorry that this has taken so long. I'd be interested in your thoughts on
> http://google.github.io/truth/comparison
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#306 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AKa9gomZAxxj4PoNIhXJMmWTtEmXvg_wks5sdyEGgaJpZM4NDc5E>
> .
>
|
Thanks. I'll add the link to our I'm also glad to appear that Truth and its docs are simple. We'll try to preserve that even as we expand them. |
#306 (comment) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=167319077
Going to call this one closed. As noted in http://google.github.io/truth/comparison, I'm happy for any suggestions on other aspects that are important enough to cover or anything I've said that's misleading. |
I have one addition to the comparison table, which actually made me select AspectJ over Truth. AssertJ brings in one dependency Truth brings in 12 dependencies. Now some of these might be optional, but something like 'mvn eclipse:eclipse' brings in 12 dependencies to your project. For projects that already have too many dependencies, you do not want to add 12 more. |
On the comparison page Truth is said to be similar to AssertJ, and the GitHub README says Truth was inspired by FEST, from which AssertJ was forked. For people trying to decide between using Truth and AssertJ, there is not much to go on. The comparison page does highlight the syntax differences of AssertJ, Truth, Hamcrest and JUnit, but AssertJ and Truth are so similar in syntax that it's difficult to make a decision.
The Github README hints at the Truth project being started because of "some extensibility needs" but it'd be nice to know why effort is put into the development of Truth when AssertJ and FEST exist. In issue 43 cgruber wrote,
Even including that quote in the FAQ would be an improvement.
The text was updated successfully, but these errors were encountered: