apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.51k stars 3.53k forks source link

[Java] Consider starting to use Google Truth Fluent Assertions library #23252

Open asfimport opened 5 years ago

asfimport commented 5 years ago

This can offer more readable asserts than the limited JUnit assertions.

 

we might want to add see if we can add a custom subject, that allows for easily asserting things about ValueVector's (e.g. NullCount, Length, etc).

Reporter: Micah Kornfield / @emkornfield

Note: This issue was originally created as ARROW-6931. Please see the migration documentation for further details.

asfimport commented 5 years ago

Ji Liu / @tianchen92: Add Google Truth Fluent Assertions library dependency, so we can choose which one to use in the test?

Also dose this need a discussion in ML?

asfimport commented 4 years ago

Micah Kornfield / @emkornfield: probably worth discussing on the ML if people object to it.  It probably doesn't pay to add it unless we actually make plan to make use of it.  I think it is of more utility if we extend it to be specific to Vectors (https://truth.dev/extension.html)

asfimport commented 2 years ago

Todd Farmer / @toddfarmer: This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.